how to make glow effect on text in photoshop

Photoshop tutorial, how to make glow effect on text in photoshop. we given step by step guide with their screen shots and full descriptions.  Learn how to give your text a  glowing effect by combining various layer styles, overlays and cool lighting effects.

how to make glow effect on text in photoshop

Step 1: Create a new document (600X300px).

Create a new layer called ‘background’ and fill your canvas with a gradient ranging from dark gray to black.

how to make glow effect on text in photoshop
how to make glow effect on text in photoshop

Step 2: Now Go to Filter>Texture>Craquelure.

Apply these setting which I given below:

Step 3: Now create a new layer called ‘radial gradient’. Fill your canvas with a radial gradient (Black-white) from the center of your canvas to the edge.

Then reduce this layer’s opacity to 50% & set Blending mode to “Overlay”.

Step 4: Create some centered text. I wrote wordpressApi (Comic Sans MS, Bold, 72pt, black).

Then apply the layer styles shown below: inner glow, bevel emboss and gradient overlay:

Now your image looking like this:

Step 5: Now duplicate your text layer, moving the duplicate below the original. Go to layer>rasterize>type and rename the layer to ‘green type’.

Set your foreground color to 61da0c and then press Ctrl+ left click on your ‘green type’ layer’s thumbnail to select only the data on this layer. Then go to edit>fill>foreground color and press OK.

Then deselect and use your keyboard cursor to shift your green text 5 px to the right.

Step 6: Duplicate your green type layer twice (so you have a total of 3 green type layers).

Then select your bottom most one and apply a 20px gaussian blur (the image below has the 2 green type layers above this one hidden):

Step 7: Reduce the opacity of your 20px gaussian blurred layer to 80%. Then use a large, soft eraser brush (100% opacity) to brush away the parts of the glow that are on the left sides of your text. You want to give the impression that the glow is coming only from the right of the letters:

Step 8: Repeat the last 2 steps on your next ‘green type’ layer, this time giving it a gaussian blur of 10px. Remember to erase away relevant parts of your glow:

Step 9: Now for your final top ‘green type’ layer apply a 2 px gaussian blur. There is no need to erase any of this layer…

Step 10: Set your foreground color to #ccffcc. Create a new layer called ‘glow circles’ . Then select the soft rounded Brush, and create some circles around the text.

Step 11: Now make some blur glow circles layer. Go to filter>blur>Gaussian blur & apply 8 px gaussian blur.

Step 12: Now Go to Layer>Layer Stile>Blending Options & apply Outer Glow to glow circles layer.

Here’s my settings:

Here’s my final result:

Thank You!

how to get reply comment link in wordpress

You can add the easily add reply comment link in wordpress comments template. WordPress api will give you very easy and better options to get reply comment link in wordpress.

.

how to get reply comment link in wordpress

how to get reply comment link in wordpress
how to get reply comment link in wordpress

Open your comments.php file from your wordpress theme folder and use following code.

<?php
// for Text
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );

// for Image</code>
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );
?>

For More detail you can use the following article…

convert photo into realistic watercolor painting

This Adobe Photoshop tutorial, we’re going to learn how to easily make a photo look more like a watercolor painting. This photo effect works best on images where maintaining rich colors and strong contrast is more important than keeping any fine details, since you’ll be losing a lot of detail with this effect.

convert photo into realistic watercolor painting

Creating the effect is as simple as duplicating some layers, applying a few filters, and using a few different layer blend modes, and the whole thing takes only a couple of minutes from start to finish.
Any recent version of Photoshop will work just fine.

Here’s the image I’ll be using for this Photoshop tutorial:

convert photo into realistic watercolor painting
convert photo into realistic watercolor painting

And here’s how it’ll look after applying our watercolor painting effect.

convert photo into realistic watercolor painting
convert photo into realistic watercolor painting

Let’s get started.

Step 1: Duplicate The Backgroung Layer Three Times
With the image newly opened in Photoshop, if we look in our Layers palette, we can see that we currently have one layer, the Background layer, which contains our image:

Photoshop Effects: The Layers palette in Photoshop showing the image on the Background layer, which contains our image.

We need to create three copies of the Background layer, so use the keyboard shortcut Ctrl+J (Win) / Command+J (Mac) three times to duplicate the Background layer three times. If we look again in our Layers palette, we can see that we now have four layers, with the original Background layer on the bottom and three copies above it:

Photoshop Effects: Photoshop’s Layer palette now showing my Background layer and the copy above it.

Step 2: Turn Off The Top Two Layers
On the far left of each layer in the Layers palette, you’ll see a small eyeball icon. This is the Layer Visibility icon, and it determines whether or not the layer is currently visible in the Photoshop document. When the eyeball icon is visible, it means the layer itself is visible. Click on the icon for the top two layers in the Layers palette to temporarily hide them from view inside the document. When you click on the icon, it disappears, letting you know that the layer is no longer visible:

Photoshop Effects: Photoshop’s Layer palette now showing my Background layer and the copy above it.

Step 3: Select “Layer 1”
With the top two layers temporarily hidden from view, click on “Layer 1” in the Layers palette to select it. You’ll know which layer is selected because the currently selected layer is highlighted in blue:

Photoshop Effects: Click on “Layer 1” in the layers palette to select it.

Step 4: Apply The Cutout Filter
The first thing we’re going to do is simplify our image, and we can do that using Photoshop’s “Cutout” filter. With “Layer 1” selected, go up to the Filter menu at the top of the screen, choose Artistic , and then choose Cutout.

When the Cutout filter’s dialog box appears, set the Number of Levels to 4 , Edge Simplicity to 4 , and Edge Fidelity to 2 :

Photoshop Effects: Go to Filter > Artistic > Cut Out and change the options circled in red above.

Click OK when you’re done to apply the settings and exit out of the dialog box.
Step 5: Change The Blend Mode Of “Layer 1” to “Luminosity”
With “Layer 1” still selected, go up to the Blend Mode options in the top left of the Layers palette. By default, layers are set to the “Normal” blend mode. Click on the down-pointing arrow to the right of the word “Normal” and select the Luminosity blend mode from the bottom of the list:

Photoshop Effects: Change the blend mode of “Layer 1” from “Normal” to “Luminosity”.

Your image should now look something like this:

Photoshop Effects: The image after changing the blend mode of “Layer 1” to “Luminosity”.

Step 6: Turn On The Layer Above “Layer 1” And Select The Layer
Still in the Layers palette, click inside the empty square where the eyeball icon used to be on the layer directly above “Layer 1” (“Layer 1 copy”) to turn that layer back on, so it’s visible again inside the document. Turning a layer back on doesn’t actually select the layer though, and we need to have it selected as well, so once you’ve turned the layer back on, click anywhere else on “Layer 1 copy” to select it so it’s highlighted in blue:

Photoshop Effects: Click on the visibility icon (the empty square for “Layer 1 copy” to turn it back on, then click enywhere else on the layer to select it.

Step 7: Apply The “Dry Brush” Filter
We’re going to add some texture to our image at this point. With “Layer 1 copy” selected and visible once again inside the document, go back up to the Filter menu at the top of the screen, choose Artistic once again, and this time, choose Dry Brush. When the Dry Brush filter’s dialog box appears, set the Brush Size to 10, the Brush Detail to 10, and the Texture option to 3:

Photoshop Effects: Go to Filter > Artistic > Dry Brush and change the options circled in red above.

Click OK when you’re done to apply the filter and exit out of the dialog box.

Step 8: Change The Layer Blend Mode To “Screen”
With “Layer 1 copy” still selected, go up to the Blend Mode options once again in the top left of the Layers palette, click on the down-pointing arrow to the right of the word “Normal”, and change the blend mode for the layer to Screen :

Photoshop Effects: Change the blend mode of “Layer 1 copy” to “Screen”.

Your image should now look something like this:

Photoshop Effects: The image appears brighter after changing the blend mode of “Layer 1 copy” to “Screen”.

Step 9: Apply The Cutout Filter

Just as we did with “Layer 1 copy” a moment ago, click inside the empty square where the eyeball icon used to be on the top layer in the Layers palette (“Layer 1 copy 2”) to turn the layer back on and make it visible once again inside the document. Then click anywhere else on the layer to select it so it’s highlighted in blue:

Photoshop Effects: Turn the top layer back on by clicking on its Layer Visibility icon in the Layers palette, then click anywhere else to select the layer.

Step 10: Apply The “Median” Filter

With the top layer selected and visible again inside the document, go back up to the Filter menu at the top of the screen, this time choose Noise , and then choose Median . The Median filter will remove even more detail from the image, and the nice thing about it is that it does so without blurring the image so edges remain well defined. When the Median Filter’s dialog box appears, set the Radius value at the bottom to 12 pixels :

Photoshop Effects: Go to Filter > Noise > Median and set the “Radius” value to “12 pixels”.

Click OK when you’re done to apply the filter and exit out of the dialog box.

Step 11: Change The Blend Mode Of The Top Layer To “Soft Light”
To complete the effect, with the top layer still selected, go up to the Blend Mode options in the top left of the Layers palette, click again on the down-pointing arrow to the right of the word “Normal”, and change the layer’s blend mode to Soft Light :

Photoshop Effects: Change the blend mode of the top layer to “Soft Light” to complete the effect.

Once you’ve change the blend mode to “Soft Light”, you’re done!

Here’s my original image once again to comparison:

Photoshop Effects: The original image once again.

And here, after applying the Median filter to the top layer and changing its blend mode to “Soft Light”, is my final “watercolor painting” effect:

Photoshop Effects: The final watercolor painting effect.

And there we have it!

Unbelievable lighting effect using photoshop

create those kinds of special effects for my favorites sightseeing images. we created Unbelievable lighting effect using photoshop, Here we given tutorial

Unbelievable lighting effect using photoshop

Sometimes, when watching film, I was really impressive by many wonderful sightseeing which we could never see in the real-life. Now, with Photoshop, I am able to create those kinds of special effects for my favorites sightseeing images. The final result is the peaceful, mysterious and beautiful sunset on the highland. I hope that I could see this effect even just once in my life. Now, let ’s do this.

Step 1: Prepare a pic similar like below,which you can clearly see the sky line :
 
 
Unbelievable lighting effect using photoshop
Unbelievable lighting effect using photoshop
Step 2: Use Soft Round Brush,size doesn’t matter but the opacity is only around 10-15% and turn on Air Brush setting.First choose black,and paint one or two times over the forest (don’t touch the sky since the sky will be go over by different color later).Then use #ad651a (or you can use a lighter version of it,since the opacity is around 10-15%,some small different won’t matter,but beware,do not make the color go any darker),go over the sky,try to go all the place just once.You will have something similar to the pic below.
 
 
 
 
Then,click the icon next to the “Quick Mask” on the layer tab,and then choose Curves ,and make the line go like the pic below.
 
 
 
 
 
You will have result as below.
 
 
 
 
Step 3: From now,any new layers will be created in the middle of the original layer and the “Curves” layer.
Create a new layer,fill it with black.Then add Lens Flare on it,choose the first type of Len Flares(75%) and try to keep it in the center.
 
 
 
 
 
Step 4: Then,use Filter>Blur>Gaussian Blur>Radius : 68.
Again,choose Soft Round Brush,with the same settings like the beginning,but with the color #fee020 .Then start to brush,the starting point will be the flare,brush down.
 
 
 
 
 
Keep brush down,make the flare center,to make it looks like the flare is spreading them.Do it till you have something similar like below.
 
 
 
 
 
Step 5: After that,go to Blending Option,choose Blend Mode as “Linear Dodge” .You will have result as below.
 
 
 
 
 
Step 6: Duplicate the Len Flare layer once,and put the duplicated one on top of it,then go to Blending Option,choose Blend Mode of the duplicated one as “Lighten” .
Finally,duplicated the original Len Flare one more time,and put this new layer on top of all layers (except the “Curves” layer),go to Blending Option,and choose the Blend Mode as “Screen” .The result will be like below.
 
 
 
 
 
You might want to check the order of the layers:
 
 
 
 
 
Step 7: In addition,you can add something more to blend things better (not recommended if you are satisfied with result).Choose the color #ff9e39 ,and use the same brush settings,then brush from left to right at the place where the sky and the forest meets.(You can go over and over several times until you feel it is fine). Like this screenshotAnd,it is done.
 
 
Unbelievable lighting effect using photoshop
Unbelievable lighting effect using photoshop

log php error in log file with trigger_error

in this article i given full information about log php error in log file with trigger_error. PHP given the method for log error using there method.

log php error in log file with trigger_error

log php error in log file with trigger_error
log php error in log file with trigger_error

In PHP language checking the logs and checking error is sometimes became difficult.
PHP is offer inbuild solution to log all errors to a log fiie.

First I will tell about creating the normal error log file.
Open your pho.ini file and modify the following line.

error_log = /var/log/php-error.log

Make sure display_errors set to Off (no errors to end users)

display_errors = Off

This is normal way to check the php error log.

But if you want to check where is script is dying or you want to debug.
Then use trigger_error() function. Personaly I love to use this function for logging the php errors.

Using this function you can specify the custom error messages as per your script requirement.

<?php
$test = ture;
if ($test == true) {
trigger_error("A custom error has been triggered");
}
?>

When you run this file and check the php error log file or you can check httpd/apache error log file.

you will got following error message.

Notice: A custom error has been triggered
in C:\webfolder\test.php on line 5

how detect ie7 or ie8 with php and every language

In daily development we face lot of cross browser issues and sometimes conditional css will never work as excepted. We can detect I7 and I8 browser using every language. Using PHP language I need to use the browser So I written following code.

How to detect ie7 or ie8 with php

We can detect ie7 or ie8 with php and every language. Using PHP language I need to use browser So I written code snippet which is useful for PHP developer.

In this article I will show how to detect IE browser and IE 7 and IE8 using php language.

Following function you can use for detecting the IE browsers.


function detect_ie($navigator_user_agent)
{
 if (stristr($navigator_user_agent, "MSIE"))
 {
 return true;
 } else return false;
}

detect_ie($_SERVER['HTTP_USER_AGENT']);

//detect IE7 browser

function detect_ie7($navigator_user_agent)
{
 if (stristr($navigator_user_agent, "msie 7"))
 {
 return true;
 } else return false;
}

detect_ie7($_SERVER['HTTP_USER_AGENT']);

function detect_ie8($navigator_user_agent)
 {
 if (stristr($navigator_user_agent, "msie 7"))
 {
 return true;
 } else return false;
 }

detect_ie8($_SERVER['HTTP_USER_AGENT']);

How to detect ie7 or ie8 with php
How to detect ie7 or ie8 with php

How to take mysql backup from file system

This method or trick is important when your database crash and you are not able connect to database. Still your will be able to take mysql backup from file system. Many times we fail to restore the mysql dump from command line.

How to take mysql backup from file system

If your mysql server crash. Follow my steps to take mysql backup from file system without database connection.

First go to your filesystem.
Here I am using the fedora OS for this example

In linux go to /var/lib/mysql path

In that folder each folder means separate database.

Copy that all folders to your local machine.
again go to your mysql local installation and paste that folder into your mysql folder.

For in each database folder file you will find following types of files in the folder
db.opt
test.frm
test.MYD
test.MYI

just copy and paste in your system

how to create multi level unique id in mysql

Multi level unique is very important feature in mysql. This feature is present all databases. Using composite unique key we can achieve multilevel uniqueness. In article for create multi level unique id in mysql. Using this composite unique key we can achieve multilevel uniqueness.

create multi level unique id in mysql

create multi level unique id in mysql
create multi level unique id in mysql

Here I am going to give you how to create the composite unique key in mysql.

mysql> alter table `user` add unique `DATE_uuid` (`date`, `uuid`)

how to check indexes on table
mysql> show index from user;
+—————-+————+————+————–+————-+———–+————-+———-+——–+——+————+———+
| Table          | Non_unique | Key_name   | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
+—————-+————+————+————–+————-+———–+————-+———-+——–+——+————+———+
| user |          0 | PRIMARY    |            1 | user_id         | A         |           0 |     NULL | NULL   |      | BTREE      |         |
| user |          0 | DATE_uuid |            1 | date        | A         |        NULL |     NULL | NULL   |      | BTREE      |         |
| user |          0 | DATE_uuid |            2 | uuid       | A         |           0 |     NULL | NULL   |      | BTREE      |         |
+—————-+————+————+————–+————-+———–+————-+———-+——–+——+————+———+
3 rows in set (0.01 sec)

mysql>

find duplicate values in an array using php

Many times we need to find duplicate values in an array using php. Using php language this is very easy. For checking the duplicate array value array_unique function is very useful.

There too many array and string functions available in php. PHP itself gives very useful methods for finding the duplicate values from array element.

There are multiple ways to find the duplicate strings. you can use loop and strpos method but using following code snippet, it is very easy to find the duplicate values from an array.

find duplicate values in an array using php

find duplicate values in an array using php
find duplicate values in an array using php

Here I am giving you very simple php example:


<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php
 $array1 = array("banana","apple","pear","banana");

 if (count(array_unique($array1)) < count($array1))
 echo 'Duplicate entry found in array';
 else
 echo 'No Duplicate values found in array';
 ?>

Output:  Duplicate entry found in array

php check if file exists if not create

Many times we got requirement of check file from specific directory. PHP tutorial for, php check if file exists if not create. Following code will work in all the system like (Mac, Linux and Windows). we given code snippet for checking file exists or not.

php check if file exists if not create
php check if file exists if not create

Using following php code you can check file is present or not in specific directory.


<?php
 $filename = '/var/www/html/test/test.txt';

 if (file_exists($filename)) {
 echo "The file $filename exists";
 } else {
 echo "The file $filename does not exist";
 }

?>