how to remove freckles of face using photoshop

In this tutorial we’re going to show you how you can remove freckles easily and quickly using Photoshop. In very simple steps you will be able to create the freckles face effect with photoshop.

how to remove freckles of face using photoshop

Step 1: Once your image in Photoshop, duplicate your background layer by choosing ‘layer>duplicate layer’ or simply drag your background layer to ‘create new layer’ button in the layer pallete.

how to remove freckles of face using photoshop
how to remove freckles of face using photoshop

Step 2: Now apply gaussian blur (Filter > Blur > Gaussian Blur) to your background copy. Try to drag the slider slowly to the right until you see the freckles are no longer visible.

Step 3: If you can’t find your history pallete on the screen, go to window > history to bring up the history pallete

Step 4: Now click on the duplicate layer state to return your photo to what it looked like when you haven’t applied the gaussian blur. Also click in the first column next to gaussian blur state.

Step 5: Choose the ‘History Brush’ from your tool pallete. Change the History Brush’s Mode to ‘lighten’ to keep from simply painting in a blurry version of our photo.

Step 6: Start to paint your photo to remove the freckles. If you find that the person looks ‘too clean’ you can always undo your step, and lower the opacity of the brush and try again.

Here’s the original image to comparison:

And here’s my final image:

Thank You!

how to add realistic rain in photoshop

Learn how to add realistic rain in photoshop. Follow this simple tutorial that gives a rain effect to any image using Adobe Photoshop. Screenshots will help you to create realistic rain in photoshop easily.

how to add realistic rain in photoshop

Step 1: Open an image in Photoshop you want to add rain in it. & Create a new layer by pressing Shift+Ctrl+N.

Step 2: With the new layer selected go to Filter>Render>Clouds.

Change the Opacity to 60%

Step 3: Go to Filter>Noise>Add Noise. Apply the settings given below:

Amount – 60

Distribution – Gaussian

Check Monochromatic

Step 4: Click on Filter>Blur>Motion blur. The Motion blur window appears. Give the values Angle – 78 and Distance 10 px as seen in the snapshot below. You can try varying the values and when a suitable image appears you can click OK.

Step 5: With ‘layer 1’ still selected, go to blending mode option which is top of layer panel and set the blend mode to ‘screen’.

Check your image now. You done it!

Here is my result with the realistic rain effect!

Thank You!

5 tips to increase wordPress traffic and look

In article, I explained you the 5 best tips about how to keep your wordpress blog or website impressive and 5 tips to increase wordPress traffic and look. It is very important to increase wordPress traffic by doing some tricks. There are many ways for increase wordPress traffic. But here in this article, I found some very unique increase wordPress traffic tips which are very useful for every web master.

I also did many tricks for my client to increase wordPress traffic. So think deeply about, how to increase wordPress traffic.

increase wordPress traffic

WordPress is becoming most popular CMS these days. It is very easy to use and great search engine support. Following are simple steps which I used to increase wordPress traffic.
Last year wordpress left behind all the cms. Many people are thinking about how to keep the there wordpress site impressive.
In this article I am going tell you the 5 best tips about how to keep your wordpress blog or website impressive.

1. Create a widget controlled footer that keeps visitors busy on site

increase wordPress traffic
increase wordPress traffic

Widget controlled footer is not new thing in wordpress website but still having footer with multiple information is good.
You should keep the following footer widget in website.
1. Recent posts
2. Popular Post
3. Recent Comments
For recent comments you can use following code in footer without plugin

<?php
 $my_query = new WP_Query('showposts=15');
 while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>

For popular post We can use the wp-popular-post plugin. Using that plugin use can use following code in your website

<?php get_mostpopular("range=weekly&order_by=views&stats_comments=0&limit=20"); ?>

For showing the Recent comments you can use following code without any wordpress plugin. You can change the css code as per your site layout.

<?php
$total_comments = $wpdb->get_results("SELECT comment_date_gmt, comment_author, comment_ID, comment_post_ID, comment_author_email, comment_content FROM $wpdb->comments WHERE comment_approved = '1' and comment_type != 'trackback' ORDER BY comment_date_gmt DESC LIMIT 11");
$comment_total = count($total_comments);
echo '<ul>';
for ($comments = 0; $comments < $comment_total; $comments++) {
echo "<div style='clear:both;width:355px;padding-top:3px;'><div style='float:left;width:35px;'>";
echo get_avatar($total_comments[$comments]->comment_author_email,$size='32',$default='<path_to_url>' );
echo "</div> <div style='width:320px;'>";
echo '<li>';
echo $total_comments[$comments]->comment_author . ' says ';
echo '<a href="'. get_permalink($total_comments[$comments]->comment_post_ID) . '#comment-' . $total_comments[$comments]->comment_ID . '">';
// echo get_the_title($total_comments[$comments]->comment_post_ID);
echo $total_comments[$comments]->comment_content;
echo '</a></li></div></div>';
}
echo '</ul>'
?>

2. Display the interesting images on the homepage

You can increase wordPress traffic and website will look cool with best custom made images.
You can use following code for showing the images on homepage.
First you need to open the functions.php file from your wordpress theme folder and copy paste following code in that file.

function get_first_image($id) {
$PostID = $id;
$all_images =& get_children('post_type=attachment&post_mime_type=image&post_parent=' . $PostID );

if($all_images) {
$arr_of_all_images = array_keys($all_images);
$firstImage = $arr_of_all_images[0];
$thumb_url = wp_get_attachment_thumb_url($firstImage);
$First_thumb_image = '<a href="' . get_permalink() . '">' .
 '<img src="' . $thumb_url . '" width="150" height="150" alt="Thumbnail Image" title="Thumbnail Image" />' .
 '</a>';
 echo $First_thumb_image;
 }
}

In your index.php file you need to copy paste the following code for showing the image.

<?php get_first_image($post->ID);  ?>

3. Add social media links to the bottom of post

Visitors always want to bookmark the website or your posts.
So keeping that very simple adding the social media links to your posts is very nice.
Finding the good social media icons as per your website is very easy with google.

There are some nice wordpress plugins available for adding the social media icons but recommend not to use any wordpress plugin.
Or you can use following code.

<style>
.social_icons{ clear:both; border-top:2px solid #ccc; color:#2266BB; font-size:18px;font-weight:bold;line-height:30px;}
.social_icons ul li {float:left; padding-right:8px;}
</style>
<div >
Bookmark & Share This Post
<ul>
 <li><a rel="nofollow" target="_blank" href="http://images.purabtech.in/feed" title="RSS"><img src="http://images.purabtech.in/rss_32.png" title="RSS" alt="RSS"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="del.icio.us"><img src="http://images.purabtech.in/delicious_32.png" title="del.icio.us" alt="del.icio.us"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="StumbleUpon"><img src="http://images.purabtech.in/stumbleupon_32.png" title="StumbleUpon" alt="StumbleUpon"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Digg"><img src="http://images.purabtech.in/digg_32.png" title="Digg" alt="Digg"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=<?php the_permalink() ?>" title="TwitThis"><img src="http://images.purabtech.in/twitter_32.png" title="TwitThis" alt="TwitThis"  /></a></li>

 <li><a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Mixx"><img src="http://images.purabtech.in/mixx_32.png" title="Mixx" alt="Mixx"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=<?php the_permalink() ?>" title="Technorati"><img src="http://images.purabtech.in/technorati_32.png" title="Technorati" alt="Technorati"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=<?php the_permalink() ?>&t=<?php echo urlencode(the_title('','', false)) ?>" title="Facebook"><img src="http://images.purabtech.in/facebook_32.png" title="Facebook" alt="Facebook"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&save?u=<?php the_permalink() ?>&h=<?php echo urlencode(the_title('','', false)) ?>" title="NewsVine"><img src="http://images.purabtech.in/newsvine_32.png" title="NewsVine" alt="NewsVine"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Reddit"><img src="http://images.purabtech.in/reddit_32.png" title="Reddit" alt="Reddit"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Google"><img src="http://images.purabtech.in/google_32.png" title="Google" alt="Google" /></a></li>

 <li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php the_permalink() ?>&=<?php echo urlencode(the_title('','', false)) ?>" title="YahooMyWeb"><img src="http://images.purabtech.in/yahoobuzz_32.png" title="YahooMyWeb" alt="YahooMyWeb"  /></a></li>

 <li><a rel="nofollow" target="_blank" href="mailto:?subject=<?php echo urlencode(the_title('','', false)) ?>&body=<?php the_permalink() ?>" title="E-mail this story to a friend!"><img src="http://images.purabtech.in/email_32.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!"  /></a></li>

</ul>
</div>

4. Install the Tweetmeme style Twitter button to your posts

Twitter is very popular these days. Twitter is micro blogging website.
So many people want to share there articles with twitter and Many visitors want to share article with there friends and follower by tweeting the article.
I recommend to use the tweetmeme wordpress plugin for putting the Twitter button to your posts.

You can download the tweetmeme wordpress plugin from following URL
http://tweetmeme.com

5. Always show the Author information with photo

Many visitors want to know about author. Keeping Author’s information on wordpress website is really good idea.
That will become your website more interesting the user friendly to visitors.
Some people like the specific writing style of author and They want know more information about Author.

In wordpress keeping the users photo and information I will suggest to use the user-photo wordpress plugin.
http://wordpress.org/extend/plugins/user-photo/
After adding following plugin you can use following code in your wordpress posts.

<?php userphoto_the_author_photo(); ?>

how to create realistic clouds image with photoshop

Photoshop tutorial, explained you about create realistic clouds image with photoshop. We given step by step information with screen shots and short cut keys.

how to create realistic clouds image with photoshop

This tutorial will show you how to use photoshop’s cloud filter to create realistic looking clouds .

Step 1: Start a new document of any size you want in Photoshop.

how to create realistic clouds image with photoshop
how to create realistic clouds image with photoshop

Step 2: Create a new layer by pressing Ctrl+J, and fill it with a Linear gradient of dark blue to lighter blue.

Darker blue: #395D9E
Lighter blue: #6A9BC9


Step 3: Create a new layer. & Press D to reset your color pallete.

Step 4: Go to Filter » Render » Clouds.

Step 5: Then again Filter » Render » Difference Clouds.

Step 6: Press CTRL+F twice. & set the clouds layer blending mode to: “Screen”

Step 7: Go to image » Adjustments » Levels.
And set the input values to: 20, 1.00, and 120

Step 8: Duplicate the cloud layer (Press CTRL+J).

Step 9: Go to Filter » Stylize » Extrude & apply the settings given below:

Step 10: Reduce to Opacity of the original cloud layer to 70%, and the extrude layer to 50%

Step 11: Now finally select the extruded cloud layer and apply a gaussian blur with 5.0 px setting. (Filter » Blur-Gaussian Blur)

And you done it!

Here’s my final image of the clouds:

Now I will show you how to use it in an image.

I got this image below which I removed the sky in the background.

Now this image, I create the clouds and put it behind the mountain, but it looks rather fake because its too flat.

Now we need to distort the clouds a little, so merge the Gradient layer,  extruded clouds layer and the original clouds layer together.

Then finally go to Edit » Transform » Perspective.

and drag the clouds image outward like I’ve done here:

Now our image is looking more realistic clouds.

Here’s the final result:

Thank You!

Google Chrome OS will be released during fourth quarter

Google vice president of product management Sundar Pichai told an audience at Computex that the Chrome OS would launch by the fourth quarter.

“When asked about the Chrome vs. Android debate, Mr. Pichai said that providing open source platforms will allow the market to make the best determination about what operating system will work best in the mass market,” TheChromeSource reported.

Google Chrome OS
Google Chrome OS

Announced in November 2009, Chrome OS was designed to be an ultrathin OS, designed with just enough code to push a user online, where the Chrome Web browser could take over. In the meantime, however, Google’s more full-featured Android OS has also fared well, proving to be a popular mobile OS for smartphones and other connected devices.

Google representatives could not be reached for comment by press time.

How to use memcached with php

Using this tutorial you will know, How to use memcached with php. We given code for using memcache with php. we shown you to configure memcache with php.

How to use memcached with php

 

How to use memcached with php
How to use memcached with php

If you try to install memcached with Linux server then use following commands

# yum install libevent
# yum install libmemcached libmemcached-devel
# yum install memcached

For Starting the memcached server
# memcached -d -m 512 -l 127.0.0.1 -p 11211 -u nobody

11211 port is default port for memcached server.

For using the memecached with php client you need to install following package

# pecl install memcache

After installing all packages restart the apache server.

# /etc/sbin/service httpd restart

<!--?php
/* OO API */
$memcache_obj = new Memcache;
$memcache_obj--->connect('memcache_host', 11211);
$memcache_obj->set('any_key', 'some value', MEMCACHE_COMPRESSED, 50);
echo $memcache_obj->get('any_key');
?>

Important Note: Memcached key has limitations of 250 charactors, So key value should be with in 250 charactors.

how to create glossy buttons for website using photoshop

In this tutorial we are going to re-create those fancy buttons that are used on Mac OSX.

how to create glossy buttons for website using photoshop

Step 1: Create a new document of any size in Photoshop.

In this tutorial we are going to re-create those fancy buttons that are used on Mac OSX. how to create glossy buttons for website using photoshop
In this tutorial we are going to re-create those fancy buttons that are used on Mac OSX. how to create glossy buttons for website using photoshop

Step 2: Create a new layer by pressing Ctrl+J. Name this layer ‘Layer 1’. Select Rectangular Marquee Tool and make a square selection as I’ve done here:

Step 3: Go to Select->Modify->Smooth with a setting of 30 pixels:

Step 4: Set your foreground color to: #373fa4 and your background color to: #8dddf8

Step 5: Now select a Gradient Tool(G), and set it up with a foreground, to background gradient as I’ve done here:

Now fill in your selection with a dark to light gradient as I’ve done here:

Do not deselect the selection.

Step  6: Double click this layer, and apply the following blending options:

Do not deselect the selection.

Step 7: Create a new layer, by pressing CTRL+ SHIFT + N on your keyboard.

Your selection should still be active, if not hold down the CTRL Key on your keyboard, and click the layer named “Layer 1”.

Select Rectangular Marquee Tool. Now while holding down the ALT key on your keyboard deselect the bottom half of our selection as l’ve done here:

Step 8: Set your foreground color to white (#FFFFFF), select Gradient Tool(G) and set your gradient style to “foreground to transparent”:

Step 9: Now fill in this selection with our gradient, with a white to transparent, like I’ve done here:

Press CTRL + D on your keyboard to deselect the selection.

Step 10: Next press CTRL + T on your keyboard to get out the free transform tool.
Here’s how your screen should look:

Step 11: Now hold down the SHIFT + CTRL + ALT keys on your keyboard, place your cursor near the node (small square) in the bottom left corner of the box and drag it slightly inward as l’ve done here:

Press ENTER on your keyboard to finalize the transformation, result:

Step 12: Now press the V key on your keyboard to get out the move tool. and tap the DOWN ARROW on your keyboard once, to nudge the gloss down one pixel, result:

Step 13: Drop the opacity of this layer down to 80 percent as I’ve done here:

This should lighten it up, just a little bit.

Step 14: The only thing left to do is add some text. I select the 36pt Verdana, with the SHARP setting:

Here’s my final result:

Thank You!

create water drops using photoshop cs3

we created the detailed article for create water drops using photoshop cs3. We given the full steps with there proper steps and screenshots in this article.

create water drops using photoshop cs3

Get yourself a close up pic of a leaf or something like that..
I chose this one:

create water drops using photoshop cs3
create water drops using photoshop cs3

Step 1: Create a new document of Default Photoshop Size.

Create a new layer and paste the leaf picture into it.

Step 2: Now get your Elliptical Marque Tool hold shift and drag so that you get a circle like this.

Step 3: Now go to Filter -> Distort -> Spherize.
You’ll get a popup window and then apply the settings given below:

Step 4: Get your marque tool and rightclick on the “marking” and press “select inverse”.

Step 4: This will mark everything else but your current “circle” or “sphere”, now press delete.

Now you should have something like this:

Step 5: Lets set some blending options to the layer.

Rightclick the layer you’ve got the sphere in and press “Blending Options” or just double click the layer and set the following settings.

Step 6: Now duplicate the layer so that you have 2 sphere layers. Create yet another layer between the two.

 

Step 7: Now press the newest sphere layer and merge it down to the empty layer by pressing ctrl+E

Step 8: Then get your Elliptical Marque Tool once more, but this time just make a marque that covers about 40 percent of the sphere like this. Use the gradiant tool to create a nice gradiant that goes from white to transparent.

Step 9: Go to Filter->Blur->Gaussian Blur and set the Radius to 3.9 pixels.

Now your sphere should look something like this:

Step 10: Now use the Dodge tool to lighten up some parts of the original “Sphere-layer”.

Step 11: When you’ve done this you’ll have to create a new layer that will be beneath all the other layers except the background layer. Here you will paste your original leaf picture.

Here’s my image after pest original leaf picture in a new layer:

Step 12: Now merge both sphere-layers by pressing Ctrl+E.

Step 13: Go to Edit in the menu then -> Transform ->Warp. Press+hold and drag your mouse down to the right, you can change the shape of water drop.


Step 14: Copy the water drop layer and change the shape by applying step 13

Here’s my final result:

Thank You!

what is difference between die and exit in php

Many PHP developers are been asked this question in interview. But many times they are not sure about answer.

There is no difference between die() and exit() function. They both are same and worked same.
Again question is why php keep the both functions if they are same. Both functions are alias of each other function.

Due to API and keeping the backward compatibility both functions are kept.

what is difference between die and exit in php
what is difference between die and exit in php

Here is one more example:

is_int() and is_integer() are also same.

There are quite a few functions in PHP which you can call with more than one name. In some cases there is no preferred name among the multiple ones, is_int() and is_integer() are equally good for example. However there are functions which changed names because of an API cleanup or some other reason and the old names are only kept as aliases for backward compatibility. It is usually a bad idea to use these kind of aliases, as they may be bound to obsolescence or renaming, which will lead to unportable script. This list is provided to help those who want to upgrade their old scripts to newer syntax.

Full list of Aliases function you will find on following URL:
http://php.net/manual/en/aliases.php

How to use sleep and usleep function in PHP

PHP tutorial, explained to use sleep and usleep function in PHP. Sleep is very common method in every language. How sleep function works we need to understand.

use sleep and usleep function in PHP

Sleep function delays the program execution for the given number of seconds.
Usleep delays program execution for the given number of micro seconds.

Following is the php example with sleep function

&lt;?php
echo date('h:i:s') . &quot;&lt;br /&gt;&quot;;

//stop execution for 30 seconds
sleep(30);

//start again
echo date('h:i:s');

?&amp;gt;

Following is the php example with usleep function

<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php
echo date('h:i:s') . &quot;&lt;br /&gt;&quot;;

//stop execution for 30 seconds
usleep(30000000);

//start again
echo date('h:i:s');
?>
How to use sleep and usleep function in PHP
How to use sleep and usleep function in PHP