Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you think that an ordinary user would visit at least two different pages with these thumbnails than my opinion is that using sprites would <strong>really be a good idea</strong>!</p> <p>I would in fact make a single big image with all the thumbnails and then use it in all the pages!</p> <p>Why?</p> <ul> <li>Fewer http requests (from 100 to 1)! And this is one of the most important thing about web site optimizations (read here from <a href="http://developer.yahoo.com/performance/rules.html" rel="noreferrer">Yahoo Performance Team speed optimization rules</a> )</li> <li>This way users will download the whole image only the first time and then they will get a super quick loading of that images in all the following pages</li> <li>The most famous websites on the internet already do that! See sprites used in <a href="http://l.yimg.com/a/i/ca/sp/purple/fp_spt_icons_0.0.2.png" rel="noreferrer">Yahoo</a>, <a href="http://www.flickr.com/photos/mezzoblue/3217540317/" rel="noreferrer">Amazon</a> or <a href="http://s.ytimg.com/yt/img/master-vfl140994.png" rel="noreferrer">Youtube</a> pages.</li> <li>You can add other UI or layout images to your sprite</li> </ul> <p>Optimize the resulting PNG:</p> <p>After you have generated your sprite, if a PNG, you can optimize the PNG even more using this tool: <a href="http://www.sitepoint.com/blogs/2009/09/18/squishing-the-last-drops-from-your-pngs/" rel="noreferrer">http://www.sitepoint.com/blogs/2009/09/18/squishing-the-last-drops-from-your-pngs/</a></p> <p>When not to use sprites:</p> <ul> <li>When part of the images in the sprite change frequently</li> <li>In this specific case: when the majority of users would need less than the (about) 10% of the images</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload