<?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>TLS Web Solutions &#187; Photoshop</title> <atom:link href="http://www.tlswebsolutions.com/tag/photoshop/feed/" rel="self" type="application/rss+xml" /><link>http://www.tlswebsolutions.com</link> <description></description> <lastBuildDate>Thu, 02 Jun 2011 20:41:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <item><title>Favicon &#8211; Do It Yourself, The Right Way</title><link>http://www.tlswebsolutions.com/favicon-do-it-yourself-the-right-way/</link> <comments>http://www.tlswebsolutions.com/favicon-do-it-yourself-the-right-way/#comments</comments> <pubDate>Mon, 06 Jul 2009 01:41:36 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Miscellaneous]]></category> <category><![CDATA[Photoshop]]></category> <category><![CDATA[XHTML]]></category> <category><![CDATA[16x16]]></category> <category><![CDATA[browser icon]]></category> <category><![CDATA[favicon]]></category> <category><![CDATA[favorite icon]]></category> <category><![CDATA[tutorial]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=98</guid> <description><![CDATA[Don&#8217;t you love it when you&#8217;re browsing the internet and all of a sudden you come across the [...]]]></description> <content:encoded><![CDATA[<p>Don&#8217;t you love it when you&#8217;re browsing the internet and all of a sudden you come across the most slick website imaginable&#8230; and the one thing that stands out above everything is a kickass favicon?</p><p>What&#8217;s a favicon you ask? Click the <strong>&#8220;Faviwhat?&#8221;</strong> tab below.</p><div id="tabs"><ul><li><a href="#tabs-1">Creating the Favicon</a></li><li><a href="#tabs-2">Show it off!</a></li><li><a href="#tabs-3">Faviwhat?</a></li></ul><div id="tabs-1"><h2>The creation:</h2><p>You have a snazzy logo and want the icon next to the URL bar to match it. How you ask? Sit back, read, enjoy the ride. Oh, and I&#8217;ll throw in a couple snapshots too.</p><p>In this example, I&#8217;ll be using a quickly created logo for demonstrative purposes.</p><p class="aligncenter"><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/nukleeur.png" alt="nukleeur" title="nukleeur" width="250" height="50" class="no-border" /></p><p>Open the image in Photoshop and select the crop tool.</p><p><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/crop1.png" alt="crop1" title="crop1" width="190" height="180" class="aligncenter size-full wp-image-115" /></p><p>Then, type &#8220;16px&#8221; in both the height and width fields in the top part of the screen. This will allow whatever you select with the crop tool in the next step, to automatically be adjusted and resized to 16&#215;16. The reason why it&#8217;s 16&#215;16 is because that is the standard Favicon size most widely accepted by all browsers.</p><p><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/crop2.png" alt="crop2" title="crop2" width="483" height="157" class="aligncenter size-full wp-image-117" /></p><p>Select the following area, this EXACT area will be your favicon upon accepting the changes.<br /> <strong>Note:</strong> Make sure that at the top of your screen you have the &#8216;delete&#8217; radio button clicked, and that after selecting the area you click the &#8216;Approve&#8217; check mark on the top right part of Photoshop.</p><p><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/crop3.png" alt="crop3" title="crop3" width="309" height="87" class="aligncenter size-full wp-image-118" /></p><p>Now, export it into a web readable format. This is the important part. All favicon&#8217;s use a bit depth of 32 colors. Aka, if your cropped image has 60 colors, it&#8217;ll actually REMOVE any of those extra colors creating an undesirable effect. Let&#8217;s use a promised result by first clicking &#8220;Save for Web and Devices&#8221; or ALT+CTR+SHIFT+S for short.</p><p><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/crop4.png" alt="crop4" title="crop4" width="370" height="566" class="aligncenter size-full wp-image-122" /></p><p>Now, use the following settings and save the file as &#8220;favicon.gif&#8221;. After you have it saved, rename it to &#8220;favicon.ico&#8221; and that&#8217;s it! You officially created your own favicon using Photoshop from a logo. Not so bad, is it? What do you do with it you ask? Click the <strong>&#8220;Show it off!&#8221;</strong> tab above to see and grab the snippets of code that make this shining piece of work display next to the site&#8217;s URL.</p></div><div id="tabs-2"><h2>The snippet, the problem, and the solution</h2><p>So, we&#8217;ve got the icon, but what do we do with it? We insert it into the header of our HTML page.</p><p>First, using your favorite FTP Client (we recommend <a href="http://filezilla-project.org/" title="FileZilla Project">FileZilla</a>) to upload the favicon to the ROOT of your site. Generally, this is the same place as your index.html is stored.</p><p>After the icon has been uploaded, we can now tell the webpage that when loaded, to look for this icon and display it in the browser. To do this, we need a snippet of code.</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;color: #003d68;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;color: #000080;">link</span> <span style="color: #000066;color: #FF0000;">rel</span><span style="color: #66cc66;color: #000080;">=</span><span style="color: #ff0000;color: #000080;">&quot;shortcut icon&quot;</span> <span style="color: #000066;color: #FF0000;">href</span><span style="color: #66cc66;color: #000080;">=</span><span style="color: #ff0000;color: #000080;">&quot;/favicon.ico&quot;</span> <span style="color: #66cc66;color: #000080;">/</span>&gt;</span></pre></td></tr></table></div><p>What this does is allows the browser to say &#8220;Find this particular file starting at the root of the site, check its bit depth&#8230; and if all is well.. set this image to be the shortcut and default URL icon for the site&#8221;.</p><p>Add the snippet above inside the HEAD tag and your site will now use the Favorite Icon (Favicon).</p><h3>I did all that, why is it not showing?</h3><p>One answer. Cache.</p><p>Most browsers (like FireFox) stores a website&#8217;s data, icons, etc in a caching system. When revisiting that site during the current session state it will try to use as many previous resources as possible. This includes CSS, JavaScript.. and as you guessed it.. images. Since your Favicon is indeed an image and your site didn&#8217;t have an image about ten minutes ago, it used a blank clear one instead and stored it for later use.</p><p>In order to see the updated version go to &#8220;Tools -> Clear Private Data&#8221; and ONLY check the &#8220;Cache&#8221; and &#8220;Offline Website Data&#8221; checkboxes. Then clear it and close FireFox. If it asks you to restore your previous session, start a new one.</p><p><em>Viola!</em></p><p>Enjoy adding that final touch to your already amazing website.</p><p><span class="validatedMsg"><a href="/examples/favicon-example.zip">&rarr; Download Source / Examples &larr;</a></span></p><p>Source ZIP Includes:</p><ul><li>Nukleeur Logo</li><li>Favicon</li><li>HTML file with Favicon Snippet</li></ul></div><div id="tabs-3"><h2>What exactly is a Favicon and why don&#8217;t I have one already?</h2><p>Favicon stands for &#8220;Favorites Icon&#8221;. It&#8217;s the little icon beside your site&#8217;s name in the favorites list, before the URL in the address bar, as a bookmarked website on the desktop, in the &#8220;Links&#8221; bar and on the windows taskbar.</p><p>If you don&#8217;t have one, this is because you have not specified in the HEAD element of your HTML pages to look for a favicon.</p><p>Still scratching at your head?</p><p>Here is Google&#8217;s favicon.</p><p><img src="http://www.tlswebsolutions.com/wp-content/uploads/2009/07/crop5.png" alt="crop5" title="crop5" width="300" height="86" class="aligncenter size-full wp-image-126" /></p></div></div><p><script type="text/javascript">$(function(){$('#tabs').tabs();});</script></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/favicon-do-it-yourself-the-right-way/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic

Served from: www.tlswebsolutions.com @ 2012-02-06 02:27:27 -->
