<?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>DukhSukh &#187; Web site optimization</title>
	<atom:link href="http://www.dukhsukh.com/category/technology/web-site-optimization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dukhsukh.com</link>
	<description>When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile.</description>
	<lastBuildDate>Tue, 25 Oct 2011 11:54:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tips to load graphics faster</title>
		<link>http://www.dukhsukh.com/2008/09/tips-to-load-graphics-faster/</link>
		<comments>http://www.dukhsukh.com/2008/09/tips-to-load-graphics-faster/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 16:16:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web site optimization]]></category>
		<category><![CDATA[graphic tips]]></category>
		<category><![CDATA[Image optimization]]></category>

		<guid isPermaLink="false">http://www.dukhsukh.com/?p=285</guid>
		<description><![CDATA[Here are 10 quick tips for decreasing the load time on your graphics. 1. Use Height and Width (Size) Attributes. Example: width=&#8221;144&#8243; height=&#8221;259&#8243; Every time a browser loads a webpage it looks for the the height and width attributes (size) of each image in your html code so it knows how to lay out the [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!- Advanced AdSense by Jim Gaudet -><!- google_ad_section_start -><p style="margin-top: 0px; margin-left: 10px; margin-right: 10px;">Here are 10 quick tips for decreasing the load time on your graphics.</p>
<p><span style="font-size: 14px;"><strong>1. Use Height and Width (Size) Attributes.</strong></span></p>
<p><strong>Example:</strong> width=&#8221;144&#8243; height=&#8221;259&#8243;</p>
<p>Every time a browser loads a webpage it looks for the the height and width attributes (size)  of each image in your html code so it knows how to lay out the text and the graphics on that  page.</p>
<p>This all takes place instantly behind the scenes. When the proper attributes are used, the  browser loads the text before the graphics. This is good. It&#8217;s faster this way.</p>
<p>If you don&#8217;t use the attributes, it causes a delay waiting for the browser to download the  images first and then lay out the text. The browser has to play catchup. It can&#8217;t load text  onto the screen until it has figured out the exact size of the graphics.</p>
<p>Make sure to use attributes on all your graphics, even those little tiny ones, like buttons  and bullets.<br />
<span id="more-285"></span><br />
<span style="font-size: 14px;"><strong>2. Size Your Image Correctly</strong></span></p>
<p>Lets say you&#8217;re trying to place an image with a file size of 30k and height &amp; width  attributes of 300 pixels wide by 400 pixels high in a spot on your webpage that is designed  to hold an image sized at 200 pixels wide by 300 pixels high.</p>
<p>To accomplish this you&#8217;ve changed the height &amp; width attributes in your html code to 200 x 300.</p>
<p>You may think that since the image will be displayed at the lower size (200&#215;300), the  file size will be smaller and the image will load faster.</p>
<p>Not true. Regardless of what size attributes you use, that file size is still 30k and it will  load at the same speed any other 30k image does.</p>
<table style="height: 6px;" border="0" width="671" align="middle">
<tbody>
<tr>
<td width="100%" align="center" bgcolor="#ffffff"><a target="_blank" href="http://www.sitepronews.com/cgi-bin/ct.cgi?id=2598" target="_blank"> </a></td>
</tr>
</tbody>
</table>
<p style="margin-top: 0px; margin-left: 10px; margin-right: 10px;">Use an image editor to change the size of the image to the correct dimensions first. Then use  the correct size attributes in your html. By resizing the image before you plug it into your  html code, the file size will be smaller and the browser will load it quicker.</p>
<p><span style="font-size: 14px;"><strong>3. Animations</strong></span></p>
<p>Animations are attention getters, but they quickly become annoying. They also slow down the  loading of your page.</p>
<p>Limit the number of animated graphics on your page and set your annimation at a specific  number of repetitions rather than allowing them to loop endlessly.</p>
<p><span style="font-size: 14px;"><strong>4. Use the Correct Image Format</strong></span></p>
<p>If your image is simple with a small number of colors try converting it to a gif format.  Good choices for this are clipart, bullets, buttons, charts and such.</p>
<p>A word to the wise. Not all images are suited for the gif format. Complex images, photos or  those with enhancements such as reflections and drop shadows don&#8217;t display well in this format.</p>
<p>The jpg format is suitable for complex images with lots of color variations. A good example  of this is a photograph.</p>
<p>The png format can be used for either. The high end png format (png-24) produces a beautiful  transparent image and maintains any enhancements you&#8217;ve included. The file sizes are generally  higher so if you&#8217;re at all concerned about load time, you may not want to consider the png  format unless you have the software and skills to slice your images. (See Tip #5)</p>
<p><span style="font-size: 14px;"><strong>5. Slice Those Images</strong></span></p>
<p>Image slicing is a technique used to breakdown a large image into smaller pieces to make it  load faster.</p>
<p>Search for &#8220;Image Splitter&#8221; &#8211; without quotes in your favorite search engine for líst of  resources for slicing images.</p>
<p><span style="font-size: 14px;"><strong>6. Limit the Number of Graphics you Place on Each Page.</strong></span></p>
<p>If your pages are loading too slow, consider removing some of the images. Keep only those  that absolutely necessary.</p>
<table style="height: 6px;" border="0" width="671" align="middle">
<tbody>
<tr>
<td width="100%" align="center" bgcolor="#ffffff"><a target="_blank" href="http://www.sitepronews.com/cgi-bin/ct.cgi?id=1255" target="_blank"> </a></td>
</tr>
</tbody>
</table>
<p><span style="font-size: 14px;"><strong>7. Use Thumbnails</strong></span></p>
<p>Use a java script to display a thumbnail and load the larger image only when the reader rolls  their mouse over the thumbnail.</p>
<p><span style="font-size: 14px;"><strong>8. Browser Cache</strong></span></p>
<p>Graphics and text are stored in what&#8217;s called cache on your hard drive. This makes it easier  and quicker to load files that are displayed in your browser. It loads them from the cache  rather than over the net each and every time, if it&#8217;s available.</p>
<p>To improve your visitors experience, take advantage of their browser cache. The best way to  do this is by not putting identical images in more than one folder, subfolder or directory on  your server. If the browser always calls the image from the same folder, it loads much quicker.</p>
<p><span style="font-size: 14px;"><strong>9. Optimize Your Images</strong></span></p>
<p>Optimizing your images is a great way to reduce the load time. I generally optimize images I  make for my clients to about 60%. I&#8217;ve found this to be the magic number that reduces the file  to a reasonable size yet doesn&#8217;t compromise the quality of the image.</p>
<p>I caution you on optimizing further. Greater percentages of optimization may leave your images  blotchy with speckled blocks of color. It will often make your colors look washed-out and you  may lose some of the fine details.</p>
<p><span style="font-size: 14px;"><strong>10. Progressive Optimization</strong></span></p>
<p>A sneaky little trick I&#8217;ve learned is to select progressive settings when you&#8217;re optimizing your  images.</p>
<p>This doesn&#8217;t really make your images load faster, however, they do load first at a very low  resolution and continue to load progressively, with more detail, until they are fully loaded.</p>
<p>Your visitor at least has something to view and content to read while the loading process  finishes up. This technique works with JPG, JPEG, PNG and GIF 89 file types.</p>
<!- Advanced AdSense by Jim Gaudet -><!- google_ad_section_end ->

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.dukhsukh.com/2008/09/tips-to-load-graphics-faster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

