<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web design blog &#187; web 2.0</title>
	<atom:link href="http://lastwebdesigner.com/tag/web-20/feed" rel="self" type="application/rss+xml" />
	<link>http://lastwebdesigner.com</link>
	<description>Antonio Fullone &#039;s personal blog about web design</description>
	<lastBuildDate>Sat, 12 Nov 2011 18:39:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to send a mail with php ajax and jquery in facebook style</title>
		<link>http://lastwebdesigner.com/featured/how-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html</link>
		<comments>http://lastwebdesigner.com/featured/how-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:17:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[PhP]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=197</guid>
		<description><![CDATA[One of the website that I love is facebook. I&#8217;m not talking about the social network, well I like this social network, but I prefer twitter and linkedin for &#8220;professional use&#8221;, but this is another question, because I&#8217;m talking about the design.:) The use of web 2.0 effects and Ajax make this web site on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flastwebdesigner.com%2Ffeatured%2Fhow-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flastwebdesigner.com%2Ffeatured%2Fhow-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html&amp;style=normal&amp;service=bit.ly&amp;hashtags=ajax,javascript,Jquery,PhP,web+2.0&amp;b=2" height="61" width="50" title="How to send a mail with php ajax and jquery in facebook style" alt=" How to send a mail with php ajax and jquery in facebook style" /><br />
			</a>
		</div>
<p>One of the website that I love is <strong>facebook</strong>. I&#8217;m not talking about the <strong>social network, well I like this social network, but I prefer twitter and linkedin for &#8220;professional use&#8221;, but this is another question, because I&#8217;m talking about</strong> the design.:)</p>
<p>The use of <strong>web 2.0 effects</strong> and <strong>Ajax</strong> make this web site on of my favourites.</p>
<p>With this tutorial I will explain you<span style="text-decoration: underline;"><strong> how to create a message mail system like Facebook. <span id="more-197"></span><br />
</strong></span></p>
<p><span style="text-decoration: underline;"><strong> </strong></span>For make this we need to create some files.</p>
<h4>1. The index file with the mail form.</h4>
<h4>2.The mail.php file that process the form and send the mail, using the simple function mail() of php.</h4>
<h4>3.A css file .</h4>
<h4>4.Jquery, naturally.</h4>
<h4>5.An other Javascript, called Ajax.js, to interact with ajax, php and jquery.</h4>
<p>Surely you can put all in one file, but, for a better understanding and to have a clean code, I prefer to use different files for each one.</p>
<p>Well first of all <a title="send a mail with php jquery and ajax" href="http://lastwebdesigner.com/tests/mail-jquery-php-ajax/">you can see a demo of this page here, </a>for logical reason<span style="text-decoration: underline;"><strong> I&#8217;ve deleted my mail from the source code</strong></span>, / you can use your mail to test the script) this is the only thing that you need to change before use the source code, the rest is ready for use.</p>
<p> <img src='http://lastwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to send a mail with php ajax and jquery in facebook style" class='wp-smiley' title="How to send a mail with php ajax and jquery in facebook style" /> </p>
<p>OK, start with this tutorial.  First we need to create the form page and link to this page the <strong>jquery</strong> and <strong>ajax,js script, </strong>so this is the code :</p>
<blockquote><p><strong>&lt;div&gt;<br />
&lt;div id=&#8221;response&#8221;&gt;</strong></p>
<p><strong>&lt;/div&gt;<br />
&lt;form id=&#8221;formail&#8221; action=&#8221;" method =&#8221;post&#8221;&gt;<br />
&lt;label&gt;Name : &lt;/label&gt;<br />
&lt;input type=&#8221;text&#8221; name=&#8221;name&#8221; id=&#8221;name&#8221; /&gt;<br />
&lt;label&gt;Your mail :&lt;/label&gt;<br />
&lt;input type=&#8221;text&#8221; name=&#8221;mail&#8221; id=&#8221;mail&#8221; /&gt;<br />
&lt;label&gt;Subject : &lt;/label&gt;<br />
&lt;input type=&#8221;text&#8221; name=&#8221;subject&#8221; id=&#8221;subject&#8221; /&gt;<br />
&lt;label&gt;Text :&lt;/label&gt;<br />
&lt;textarea name=&#8221;text&#8221; id=&#8221;text&#8221; cols=&#8221;40&#8243; rows=&#8221;10&#8243;&gt;&lt;/textarea&gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;send mail&#8221; id=&#8221;sendmail&#8221; name=&#8221;sendmail&#8221; /&gt;<br />
&lt;/form&gt;<br />
&lt;/div&gt;</strong></p>
<p><strong>&lt;/div&gt;</strong></p></blockquote>
<p>The <strong>div</strong> called <strong>response</strong>, will be util for the validation and the text message after send the mail( or to get the error if the mail script doesn&#8217;t work), this <strong>div</strong> is really important don&#8217;t forget this.</p>
<p>Now we need to style this, you can style the form as you want, but the only important thing is that the<span style="text-decoration: underline;"> div response must be in display none</span> :</p>
<blockquote><p><strong>#response{display:none;}</strong></p></blockquote>
<p>Is better if you style this and the form, it will look more pretty this is the complete css that I&#8217;ve used :</p>
<blockquote><p><strong>body{<br />
background: #E7E7DC;<br />
font-size: 13px;<br />
font-family: arial;<br />
}<br />
#wrap{<br />
width: 800px;<br />
background: white;<br />
margin: auto;<br />
padding: 10px;<br />
}<br />
#wrap h1{<br />
padding: 10px;<br />
border: 1px solid #ccc;<br />
background: #f8f8f8;<br />
}<br />
.mail{<br />
width:500px;<br />
margin:auto;<br />
}<br />
#formail{<br />
width: 500px;<br />
margin: auto;<br />
}<br />
#formail label{<br />
display: block;<br />
margin: 10px 0;<br />
}<br />
#text{<br />
background: #f8f8f8;<br />
}<br />
#sendmail{<br />
margin-top: 20px;<br />
display: block;<br />
}<br />
#response{<br />
display: none;<br />
border: 1px solid #ccc;<br />
background: #FFFFA0;<br />
padding: 10px;<br />
width: 450px;<br />
}</strong></p></blockquote>
<p>This is the style of the page, now it comes the nice part, the php and the ajax, this will be funny! Let&#8217;s go and create the mail.php page, with this code :</p>
<blockquote><p><strong>&lt;?php<br />
$mail = $_POST['mail'];<br />
$name = $_POST['name'];<br />
$subject = $_POST['subject'];<br />
$text = $_POST['text'];</strong></p>
<p><strong>$to = &#8220;yourmail@domain.com&#8221;;<br />
$message =&#8221; You received  a mail from &#8220;.$mail;<br />
$message .=&#8221; Text of the message : &#8220;.$text;</strong></p>
<p><strong>if(mail($to, $subject,$message)){<br />
echo &#8220;mail successful send&#8221;;<br />
}<br />
else{<br />
echo &#8220;there&#8217;s some errors to send the mail, verify your server options&#8221;;<br />
}<br />
?&gt;</strong></p></blockquote>
<p>Ok, let me explain this:</p>
<p>Firs I create the variables that will contain the froms data values :</p>
<blockquote><p><strong>$mail = $_POST['mail'];<br />
$name = $_POST['name'];<br />
$subject = $_POST['subject'];<br />
$text = $_POST['text'];</strong></p></blockquote>
<p>With the variable<strong> $to</strong>, I store the mail where I want that the mail will be sended( my mail), <span style="text-decoration: underline;">this is the only thing that you must change to make works the script.</span></p>
<p>The <strong>$message</strong> variable get  the <strong>mail</strong> and the text of the <strong>sender</strong>, and put in the body of the mail message.</p>
<p>Finally , with tha <strong>mail() </strong>function from php I send the mail. I&#8217;ve used an if because, <strong>if the mail doesn&#8217;t work you will know. </strong></p>
<p>The mail function is really simple and accept some parameters, the mail where send, the subject and the message of the mail.</p>
<p><a title="mail function php" href="http://es2.php.net/manual/en/function.mail.php">You can read all from the official page of php. </a></p>
<blockquote><p>Now is the time of the<strong> ajax.js.</strong> This is the complete code :</p>
<p><strong>$(document).ready(function(){<br />
$(&#8220;#sendmail&#8221;).click(function(){<br />
var valid = &#8221;;<br />
var isr = &#8216; is required.&#8217;;<br />
var name = $(&#8220;#name&#8221;).val();<br />
var mail = $(&#8220;#mail&#8221;).val();<br />
var subject = $(&#8220;#subject&#8221;).val();<br />
var text = $(&#8220;#text&#8221;).val();<br />
if (name.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Name&#8217;+isr;<br />
}<br />
if (!mail.match(/^([a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,4}$)/i)) {<br />
valid += &#8216;&lt;br /&gt;A valid Email&#8217;+isr;<br />
}<br />
if (subject.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Subject&#8217;+isr;<br />
}<br />
if (text.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Text&#8217;+isr;<br />
}<br />
if (valid!=&#8221;) {<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
$(&#8220;#response&#8221;).html(&#8220;Error:&#8221;+valid);<br />
}<br />
else {<br />
var datastr =&#8217;name=&#8217; + name + &#8216;&amp;mail=&#8217; + mail + &#8216;&amp;subject=&#8217; + subject + &#8216;&amp;text=&#8217; + text;<br />
$(&#8220;#response&#8221;).css(&#8220;display&#8221;, &#8220;block&#8221;);<br />
$(&#8220;#response&#8221;).html(&#8220;Sending message &#8230;. &#8220;);<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
setTimeout(&#8220;send(&#8216;&#8221;+datastr+&#8221;&#8216;)&#8221;,2000);<br />
}<br />
return false;<br />
});<br />
});<br />
function send(datastr){<br />
$.ajax({<br />
type: &#8220;POST&#8221;,<br />
url: &#8220;mail.php&#8221;,<br />
data: datastr,<br />
cache: false,<br />
success: function(html){<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
$(&#8220;#response&#8221;).html(html);<br />
setTimeout(&#8216;$(&#8220;#response&#8221;).fadeOut(&#8220;slow&#8221;)&#8217;,2000);<br />
}<br />
});<br />
}</strong></p></blockquote>
<p>What i&#8217;ve done? let me explain :</p>
<p>I suppose that you know the<strong> $(document).ready function of jquery,</strong> I&#8217;ve explained in the previous tutorial, <a title="animated menu jquery" href="http://lastwebdesigner.com/jquery/simple-animated-menu-with-jquery.html">create an animated menu with jquery</a>.</p>
<p>When <strong>#sendmail,</strong> the submit button of the form,  is clicked will start <span style="text-decoration: underline;">the validation of the form,</span> this is important try always to validate your forms, expecially for the <strong>breakballs(usually called spammer&#8230;)</strong>, so the first part of the script validate the form and if on of the input value is under 0 this will stop the script and return an error like in this image</p>
<p><a href="http://lastwebdesigner.com/wp-content/uploads/2009/06/validation.jpg"><img class="alignnone size-full wp-image-198" title="validation" src="http://lastwebdesigner.com/wp-content/uploads/2009/06/validation.jpg" alt="validation How to send a mail with php ajax and jquery in facebook style" width="518" height="191" /></a></p>
<p>the text that appears is stored in the<strong> #response div</strong>, for this reason I said that is important and not only for this. <img src='http://lastwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to send a mail with php ajax and jquery in facebook style" class='wp-smiley' title="How to send a mail with php ajax and jquery in facebook style" /> </p>
<blockquote><p><strong>var valid = &#8221;;<br />
var isr = &#8216; is required.&#8217;;<br />
var name = $(&#8220;#name&#8221;).val();<br />
var mail = $(&#8220;#mail&#8221;).val();<br />
var subject = $(&#8220;#subject&#8221;).val();<br />
var text = $(&#8220;#text&#8221;).val();<br />
if (name.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Name&#8217;+isr;<br />
}<br />
if (!mail.match(/^([a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,4}$)/i)) {<br />
valid += &#8216;&lt;br /&gt;A valid Email&#8217;+isr;<br />
}<br />
if (subject.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Subject&#8217;+isr;<br />
}<br />
if (text.length&lt;1) {<br />
valid += &#8216;&lt;br /&gt;Text&#8217;+isr;<br />
}<br />
</strong></p></blockquote>
<p>To validate the mail, I&#8217;ve used a <strong>regular expression</strong>( <a title="Juan carlos Barreiro" href="http://enterprisedreams.net/">thanks to Juan Carlos</a> <img src='http://lastwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to send a mail with php ajax and jquery in facebook style" class='wp-smiley' title="How to send a mail with php ajax and jquery in facebook style" />  )</p>
<blockquote><p><strong>if (!mail.match(/^([a-z0-9._-]+@[a-z0-9._-]+\.[a-z]{2,4}$)/i))</strong></p></blockquote>
<p>if you try to write <strong>2 mail addres</strong>, this will not works, or if you use white space in the mail field the validation will stop the script. You can try simply leaving white the various fields to understand how it works. All of the error in the validation will appears in the <strong>response div</strong>, that will appear with a<strong> fadeIn effect.</strong></p>
<blockquote><p><strong>if (valid!=&#8221;) {<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
$(&#8220;#response&#8221;).html(&#8220;Error:&#8221;+valid);<br />
}</strong></p></blockquote>
<p>The second part of the script is for create the <span style="text-decoration: underline;"><strong>datastr</strong></span> variable, that will store the value from the form and send in the <strong><span style="text-decoration: underline;">ajax request</span></strong>, and make appear again the <strong>#response div</strong>, yes how I said is important ejejeje, like the <strong>facebook</strong> style, that say that the message is sending.</p>
<blockquote><p><strong>else {<br />
var datastr =&#8217;name=&#8217; + name + &#8216;&amp;mail=&#8217; + mail + &#8216;&amp;subject=&#8217; + subject + &#8216;&amp;text=&#8217; + text;<br />
$(&#8220;#response&#8221;).css(&#8220;display&#8221;, &#8220;block&#8221;);<br />
$(&#8220;#response&#8221;).html(&#8220;Sending message &#8230;. &#8220;);<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
setTimeout(&#8220;send(&#8216;&#8221;+datastr+&#8221;&#8216;)&#8221;,2000);<br />
}</strong></p></blockquote>
<p>In the final  part I&#8217;ve used a <strong>&#8220;return false</strong>&#8220;, so when you click on the submit button this doesn&#8217;t do nothing, well it seems that the button doesn&#8217;t do nothing, but the reason ts that the rest of the work is done by ajax and the function send :</p>
<blockquote><p><strong>function send(datastr){<br />
$.ajax({<br />
type: &#8220;POST&#8221;,<br />
url: &#8220;mail.php&#8221;,<br />
data: datastr,<br />
cache: false,<br />
success: function(html){<br />
$(&#8220;#response&#8221;).fadeIn(&#8220;slow&#8221;);<br />
$(&#8220;#response&#8221;).html(html);<br />
setTimeout(&#8216;$(&#8220;#response&#8221;).fadeOut(&#8220;slow&#8221;)&#8217;,4000);<br />
}<br />
});<br />
}</strong></p></blockquote>
<p>This is the &#8220;<strong>core</strong>&#8221; of the script, this will call th<a title="ajax" href="http://docs.jquery.com/Ajax" target="_blank">e</a><strong><a title="ajax" href="http://docs.jquery.com/Ajax" target="_blank"> $.ajax function of Jquery</a>,</strong> give it the parameters and call the <strong>mail.php</strong> file, finally get the response of the <strong>mail.php</strong>, and return this in the response div, and after<strong> 4 seconds the text fade out</strong>. <img src='http://lastwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How to send a mail with php ajax and jquery in facebook style" class='wp-smiley' title="How to send a mail with php ajax and jquery in facebook style" /> </p>
<p>This script is inspired ,how I said, from <strong>facebook message system</strong> and it works at the same way, you can use on your own and change or modify the source code.</p>
<p><a class="demo" title="send a mail with php ajax and jquery" href="http://lastwebdesigner.com/tests/mail-jquery-php-ajax/"><strong>Demo of the script</strong></a></p>
<p><a class="download" title="download the full script" href="http://www.box.net/shared/kklgtosti5"><strong>Download directly the script.</strong></a><br />
I hope is useful , you can use the comments and let me know what do you thing.</p>
<p>If you know something to improve the script, let me know pls.</p>
<p>Bye !!</p>
]]></content:encoded>
			<wfw:commentRss>http://lastwebdesigner.com/featured/how-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html/feed</wfw:commentRss>
		<slash:comments>82</slash:comments>
		</item>
		<item>
		<title>Text reflection with photoshop</title>
		<link>http://lastwebdesigner.com/tutorials/text-reflection-with-photoshop.html</link>
		<comments>http://lastwebdesigner.com/tutorials/text-reflection-with-photoshop.html#comments</comments>
		<pubDate>Tue, 26 May 2009 14:29:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[photoshop tutorials]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=143</guid>
		<description><![CDATA[Another amazing effect used today in the web 2.0 is the text reflected, another classical sign of a 2.0 web graphic. Usually is used in the logos design, but not only. I will show you how to do this effect in few simple steps with photoshop. First of all, after opened the program, create a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Ftext-reflection-with-photoshop.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Ftext-reflection-with-photoshop.html&amp;style=normal&amp;service=bit.ly&amp;hashtags=Photoshop,photoshop+tutorials,web+2.0&amp;b=2" height="61" width="50" title="Text reflection with photoshop" alt=" Text reflection with photoshop" /><br />
			</a>
		</div>
<p>Another<strong> amazing effect used today in the <a title="web 2.0 effect with photoshop" href="http://lastwebdesigner.com/tag/web-20">web 2.0</a></strong><a title="web 2.0 effect with photoshop" href="http://lastwebdesigner.com/tag/web-20"> </a>is the<strong> text reflected, </strong>another classical sign of a<a title="graphic web 2.0" href="http://lastwebdesigner.com/tag/web-20"><strong> 2.0 web graphic</strong></a>. Usually is used in the <strong>logos design,</strong> but not only.</p>
<p>I will show you how to do this effect in few simple steps with <a title="photoshop tutorial" href="http://lastwebdesigner.com/category/photoshop"><strong>photoshop</strong></a>.  First of all, after opened the program, create a <strong>new document 500*300 of dimension </strong>and <strong>blank background</strong>. Choose the <strong>Type toll</strong> and write your text, for this example I&#8217;ve used <strong>Georgia</strong> like font and a dimension of <strong>48pixels</strong>, but you can do this in the way that you prefer. The image now is something like this :<span id="more-143"></span></p>
<div id="attachment_144" class="wp-caption alignnone" style="width: 508px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/17.jpg"><img class="size-full wp-image-144 img-post" title="17" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/17.jpg" alt="17 Text reflection with photoshop" width="498" height="300" /></a><p class="wp-caption-text">text reflection with photoshop</p></div>
<p><span style="text-decoration: underline;">Duplicate the text level,</span> you can do this from the <strong>level menu &#8211; duplicate layer </strong>or directly from the <strong>layers windows, right click on the layer and choose duplicate. </strong>With the new <span style="text-decoration: underline;">duplicated layer selected</span> go to the <strong>edit menu</strong> and <strong>choose &#8211; transform -flip vertical</strong>, and <span style="text-decoration: underline;">drag down the level (with the move tool ) until the down limit of the first level,</span> like this image :</p>
<div id="attachment_145" class="wp-caption alignnone" style="width: 508px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/22.jpg"><img class="size-full wp-image-145 img-post" title="22" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/22.jpg" alt="22 Text reflection with photoshop" width="498" height="300" /></a><p class="wp-caption-text">duplicat level and drag down</p></div>
<p>Add a <strong>layer mask to the duplicated level </strong>, clicking on the <strong>3º button from the left,</strong> down in the layers window.</p>
<div id="attachment_146" class="wp-caption alignnone" style="width: 234px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/32.jpg"><img class="size-full wp-image-146 img-post" title="32" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/32.jpg" alt="32 Text reflection with photoshop" width="224" height="335" /></a><p class="wp-caption-text">add a layer mask</p></div>
<p>Now choose the<strong> gradient tool</strong>, and in the <strong>palette color choose black to white </strong>and<span style="text-decoration: underline;"> trace a vertical line that start from the lower point of the duplicated level until the start of the text of the original level,</span> look the image to understand what I want to say :</p>
<h3>
<p><div id="attachment_148" class="wp-caption alignnone" style="width: 510px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/44.jpg"><img class="size-full wp-image-148 img-post" title="44" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/44.jpg" alt="44 Text reflection with photoshop" width="500" height="313" /></a><p class="wp-caption-text">gradient tool </p></div></h3>
<p>The results will be this</p>
<h3><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/52.jpg"><img class="alignnone size-full wp-image-149 img-post" title="52" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/52.jpg" alt="52 Text reflection with photoshop" width="498" height="300" /></a></h3>
<p>And finally <strong>low the opacity of the layer to 30%</strong> and that&#8217;s all!</p>
<p>The<strong> text reflection</strong> is ready. This effect is applied to <strong>the <a title="fire text with photoshop tutorial" href="http://lastwebdesigner.com/photoshop/create-a-fire-text-with-photoshop.html">photoshop fire text tutorial,</a> </strong>in the final part to make the reflection.<br />
Hasta Luego!</p>
]]></content:encoded>
			<wfw:commentRss>http://lastwebdesigner.com/tutorials/text-reflection-with-photoshop.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a badge 2.0 with Photoshop</title>
		<link>http://lastwebdesigner.com/tutorials/create-a-badge-20-with-photoshop.html</link>
		<comments>http://lastwebdesigner.com/tutorials/create-a-badge-20-with-photoshop.html#comments</comments>
		<pubDate>Sat, 23 May 2009 17:11:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[photoshop tutorials]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=129</guid>
		<description><![CDATA[Well &#8230; after the tutorial to make fire text with photoshop, In this tutorial I&#8217;ll show you how to make a badge with Photoshop. The are is a tipical graphic elements of the web 2.0, a lots of site use the badge. Usually I see that are used a lots in the Header of the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Fcreate-a-badge-20-with-photoshop.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Fcreate-a-badge-20-with-photoshop.html&amp;style=normal&amp;service=bit.ly&amp;hashtags=Photoshop,photoshop+tutorials,tutorial,web+2.0&amp;b=2" height="61" width="50" title="Create a badge 2.0 with Photoshop" alt=" Create a badge 2.0 with Photoshop" /><br />
			</a>
		</div>
<p>Well &#8230; after the<a title="fire text photoshop" href="http://lastwebdesigner.com/photoshop/create-a-fire-text-with-photoshop.html"><strong> tutorial to make fire text with photoshop</strong></a>, In this tutorial I&#8217;ll show you how to<span style="text-decoration: underline;"><strong> make a badge with Photoshop. </strong></span></p>
<p>The are is a tipical graphic  elements of the<strong> web 2.0,</strong> a lots of site use the badge. Usually I see that are used a lots in the Header of the pages, some in the logos, with reflection text, anyway, this give to your<strong> website a little touch of 2.0.</strong></p>
<p>If you don&#8217;t want to make your own badge but you want something like  &#8220;download and  use&#8221;, you can  <a title="badge 2.0 photoshop from dezinerfolio" href="http://www.dezinerfolio.com/2007/04/23/web-20-badges-free-download?page=11"> download a fantastic badge sets, psd source included, from Dezinerfolio,</a> a great blog with a lots of<strong> free resource</strong>, one of my favorite blog.<span id="more-129"></span></p>
<p>Open <strong>Photoshop</strong> and create a a new document 300*300 px with blank background.</p>
<p>From the Tools Palette, choose the Polygon tool, and use these settings :</p>
<div id="attachment_130" class="wp-caption alignnone" style="width: 310px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/16.jpg"><img class="size-medium wp-image-130 img-post" title="16" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/16-300x187.jpg" alt="16 300x187 Create a badge 2.0 with Photoshop" width="300" height="187" /></a><p class="wp-caption-text">badge 2.0</p></div>
<p>Now draw the badge usig #dc0b0b like first color now you have this :</p>
<div id="attachment_131" class="wp-caption alignnone" style="width: 310px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/21.jpg"><img class="size-full wp-image-131 img-post" title="21" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/21.jpg" alt="21 Create a badge 2.0 with Photoshop" width="300" height="300" /></a><p class="wp-caption-text">badge</p></div>
<p>Now go to blending options (right click on the layer in the layers window) and use these settings :</p>
<blockquote><p><strong>Drop shadow opacity 50% , distance 5 spread 0 size 15</strong></p>
<p><strong>Bevel and emboss size 2  soften 0 direction up<br />
</strong></p>
<p><strong>stroke size 5 position inside color #FFFFFF</strong></p></blockquote>
<p>And this should the result :</p>
<div id="attachment_132" class="wp-caption alignnone" style="width: 310px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/31.jpg"><img class="size-full wp-image-132 img-post" title="31" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/31.jpg" alt="31 Create a badge 2.0 with Photoshop" width="300" height="300" /></a><p class="wp-caption-text">badge settings</p></div>
<p>Now we need to create the blur on the top of the badge.  With the elliptical marquee tool, make a selection in the top left corner of the badge and create a new layer from the layer menu :</p>
<p><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/42.jpg"><img class="alignnone size-full wp-image-134 img-post" title="42" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/42.jpg" alt="42 Create a badge 2.0 with Photoshop" width="366" height="330" /></a></p>
<p>Switch the<strong> main color to white</strong> and select the<strong> gradient tools </strong>and from the <strong>gradient color menu </strong>choose <strong>foreground to transparent </strong>and<strong><span style="text-decoration: underline;"> trace a line from the top left corner to the bottom right corner of the badge, </span></strong>after deselect all, ctrl +d and apple+d in mac, go to the <strong>layers window</strong> and low the <strong>opacity to 35%</strong> and  <strong>fill to 75%,</strong> this should be the results :</p>
<div id="attachment_135" class="wp-caption alignnone" style="width: 310px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/51.jpg"><img class="size-full wp-image-135 img-post" title="51" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/51.jpg" alt="51 Create a badge 2.0 with Photoshop" width="300" height="300" /></a><p class="wp-caption-text">badge</p></div>
<p>Finally you can personalize the badge on your way :</p>
<div id="attachment_136" class="wp-caption alignnone" style="width: 310px"><a href="http://lastwebdesigner.com/wp-content/uploads/2009/05/final1.jpg"><img class="size-full wp-image-136 img-post" title="final1" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/final1.jpg" alt="final1 Create a badge 2.0 with Photoshop" width="300" height="300" /></a><p class="wp-caption-text">badge 2.0 with photoshop</p></div>
<p>Enjoy!</p>
<p> <img src='http://lastwebdesigner.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Create a badge 2.0 with Photoshop" class='wp-smiley' title="Create a badge 2.0 with Photoshop" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lastwebdesigner.com/tutorials/create-a-badge-20-with-photoshop.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create a fire text with Photoshop</title>
		<link>http://lastwebdesigner.com/tutorials/create-a-fire-text-with-photoshop.html</link>
		<comments>http://lastwebdesigner.com/tutorials/create-a-fire-text-with-photoshop.html#comments</comments>
		<pubDate>Sat, 23 May 2009 10:27:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[photoshop tutorials]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=102</guid>
		<description><![CDATA[With this tutorial I want to show you how to create a text on fire using photoshop. First of all open your photoshop and create a new document 400 *400 pixel. with a black background and white text on. I&#8217;ve used the fonts Impact and a font size of 36px , but you can use [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Fcreate-a-fire-text-with-photoshop.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flastwebdesigner.com%2Ftutorials%2Fcreate-a-fire-text-with-photoshop.html&amp;style=normal&amp;service=bit.ly&amp;hashtags=Photoshop,photoshop+tutorials,tutorial,web+2.0&amp;b=2" height="61" width="50" title="Create a fire text with Photoshop" alt=" Create a fire text with Photoshop" /><br />
			</a>
		</div>
<p>With this tutorial I want to show you how to create a text on fire using photoshop. First of all open your <strong>photoshop and create a new  document 400 *400 pixel. with a black background and white text on.</strong> I&#8217;ve used  the fonts <strong>Impact</strong> and a font size of <strong>36px</strong> , but you can use another fonts or dimension. ok let&#8217;s go now and create the fire text!</p>
<p>Write your text using white color for the text.<span id="more-102"></span></p>
<div id="attachment_111" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/1.jpg"><img class="size-full wp-image-111 img-post" title="1" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/1.jpg" alt="1 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">text on fire</p></div>
<p>Now duplicate the text layer from the menu<strong> layer &#8211; duplicate layer.</strong> Now go on the level window and <strong><span style="text-decoration: underline;">deselect the original layer,</span></strong> so we can see only the new duplicated layer, like this :</p>
<div id="attachment_109" class="wp-caption alignnone" style="width: 226px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/2.jpg"><img class="size-full wp-image-109 img-post" title="2" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/2.jpg" alt="2 Create a fire text with Photoshop" width="216" height="360" /></a><p class="wp-caption-text">hide original text layer</p></div>
<p>Now go on <strong>layer menu </strong>and select : <strong>merge visible</strong>, so we will have only two layers, the original text and another layer from the background and the copied layer, <span style="text-decoration: underline;">this last is the layer were we will work on.</span></p>
<div id="attachment_110" class="wp-caption alignnone" style="width: 230px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/3.jpg"><img class="size-full wp-image-110 img-post" title="3" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/3.jpg" alt="3 Create a fire text with Photoshop" width="220" height="321" /></a><p class="wp-caption-text">merge visible layer</p></div>
<p>Now rotate the canvas using the menu : <strong>Image &#8211; image rotation &#8211; 90 º CCW.</strong></p>
<div id="attachment_112" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/4.jpg"><img class="size-full wp-image-112 img-post" title="4" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/4.jpg" alt="4 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">rotate canvas </p></div>
<p>Now is time to use the <strong>Photoshop</strong> <strong>filters</strong>. <strong>Go to Filter -Stylize &#8211; Wind </strong>and apply this settings :</p>
<div id="attachment_113" class="wp-caption alignnone" style="width: 344px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/5.jpg"><img class="size-full wp-image-113 img-post" title="5" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/5.jpg" alt="5 Create a fire text with Photoshop" width="334" height="463" /></a><p class="wp-caption-text">wind filter photoshop</p></div>
<p>Reapply the filter another 2 times, with<strong> ctrl+f </strong>or<strong> command +f </strong>if you are using a Mac, until you will have an image like this :</p>
<div id="attachment_114" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/6.jpg"><img class="size-full wp-image-114 img-post" title="6" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/6.jpg" alt="6 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">the wind filter</p></div>
<p>Now rotate again the image,  on<strong> 90º CW </strong>to reput the text on original position and apply the <strong>Filter blur &#8211; Gaussian blur </strong> with a<strong> radius of 1.5,</strong> or more it depend how do you want the fire effect), here the settings of the<strong> blur filter :</strong></p>
<div id="attachment_115" class="wp-caption alignnone" style="width: 348px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/7.jpg"><img class="size-full wp-image-115 img-post" title="7" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/7.jpg" alt="7 Create a fire text with Photoshop" width="338" height="336" /></a><p class="wp-caption-text">blur filter settings</p></div>
<p><strong>Apply this filter another time and we have this image :</strong></p>
<div id="attachment_116" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/8.jpg"><img class="size-full wp-image-116 img-post" title="8" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/8.jpg" alt="8 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">blur filter photoshop</p></div>
<p>Now it&#8217;s coming the more personalized part .. So we&#8217;re going to use the<strong> liquify Filter,</strong> the results depend on your &#8220;hands&#8221; , this effect is to make the <strong>Flames</strong>, so use the filter at better, you can learn something <a title="liquify filter" href="http://photoshopcontest.com/tutorials/25/the-liquify-filter.html">about this filter at this links.</a> This is my image with the flames.</p>
<div id="attachment_121" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/91.jpg"><img class="size-full wp-image-121 img-post" title="91" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/91.jpg" alt="91 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">flames</p></div>
<p>Now go to the menu :<strong> image &#8211; Hue/Saturation </strong>and apply this settings <span style="text-decoration: underline;">(remember to click on colorize)</span>:</p>
<div id="attachment_118" class="wp-caption alignnone" style="width: 474px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/10.jpg"><img class="size-full wp-image-118 img-post" title="10" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/10.jpg" alt="10 Create a fire text with Photoshop" width="464" height="369" /></a><p class="wp-caption-text">hue settings</p></div>
<p>The results will be something like this :</p>
<div id="attachment_119" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/11.jpg"><img class="size-full wp-image-119 img-post" title="11" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/11.jpg" alt="11 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">text fire hue settings</p></div>
<p>Now duplicate the level and , in the new level, reapply the<strong> HUE/SATURATION</strong> but this time <span style="text-decoration: underline;">without  click on colorize</span> and use these settings :</p>
<div id="attachment_120" class="wp-caption alignnone" style="width: 471px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/12.jpg"><img class="size-full wp-image-120 img-post" title="12" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/12.jpg" alt="12 Create a fire text with Photoshop" width="461" height="366" /></a><p class="wp-caption-text">hue/saturation</p></div>
<p>Now with this new level selected go in the <strong>window levels</strong> and choose , from the select menu,<strong>Color Dodge </strong>(always with the background copy selected).</p>
<div id="attachment_122" class="wp-caption alignnone" style="width: 262px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/13.jpg"><img class="size-full wp-image-122 img-post" title="13" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/13.jpg" alt="13 Create a fire text with Photoshop" width="252" height="456" /></a><p class="wp-caption-text">merge levels</p></div>
<p>You will have an images like this</p>
<div id="attachment_123" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/14.jpg"><img class="size-full wp-image-123 img-post" title="14" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/14.jpg" alt="14 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">fire</p></div>
<p>Now show the original text layer, and  go to <strong>blending options </strong>( right click directly form the layer window and choose blending options), and apply a <strong>gradient</strong> (I&#8217;ve used grey to black) and <strong>outer glow</strong> and<strong> inner glow,</strong> better if you use <strong>yellow</strong> like color for this last<strong> inner and outglow</strong>. Finally you will have something like this :</p>
<div id="attachment_124" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/15.jpg"><img class="size-full wp-image-124 img-post" title="15" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/15.jpg" alt="15 Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">fire text photoshop</p></div>
<p><strong>And this is the fire text!</strong></p>
<p>But we can do something better now. We can make this text <strong>more web 2.0,</strong> adding some nice effect used today in web 2.0.</p>
<p>For example a <strong>reflection</strong> and create something like this :</p>
<div id="attachment_125" class="wp-caption alignnone" style="width: 410px"><a rel="lightbox" href="http://lastwebdesigner.com/wp-content/uploads/2009/05/final.jpg"><img class="size-full wp-image-125 img-post" title="final" src="http://lastwebdesigner.com/wp-content/uploads/2009/05/final.jpg" alt="final Create a fire text with Photoshop" width="400" height="400" /></a><p class="wp-caption-text">fire text 2.0</p></div>
<p>On the next tutorial I will explain how to create this reflection effects.</p>
<p>Hasta Luego!</p>
]]></content:encoded>
			<wfw:commentRss>http://lastwebdesigner.com/tutorials/create-a-fire-text-with-photoshop.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

