Step by Step GuidesOptimizing images for the WebGuide to optimizing images before uploading to the Commonspot Image Gallery. What is the difference between these two images?
The image on the left was not optimized before uploading to the Commonspot Image Gallery. The file size for that image is 228Kb. The image on the right was optimized, reducing the file size to 26Kb. Why does this matter?When a Web page is displayed, several files are transferred from the Web server to the Web browser. Each of these files will contribute to the total download time for the page; a rule-of-thumb for estimating download time is 1 second for every 10Kb of file size, for a dial-up network connection (our baseline expectation; about 40% of site visitors will use dial-up connections). The HTML source of the page, style sheet, Javascript files, and image files that make up the Commonspot base template represent about 30 Kb of files. Once you have added the subsite title image, navigation, and popup menu Javascript code, the file size can be 50-60 Kb. When you add text, the file size doesn't increase all that much—this page includes quite a bit of text, but it's only adding 7 Kb to the total file size. When you add images, the total file size of the page can rise dramatically. Our recommendation is to optimize all Web graphics to be less than 30 Kb each. And it is also recommended that you keep your audience in mind when constructing a page that includes many image files. Unless you can rely on your audience having a broadband network connection, the delay in downloading the page may cause you to lose site visitors if the page takes more than 8 seconds to display. For comparison, here's a table that shows file size and download times for pages at various stages of construction:
What does "optimize" mean?Resizing Height and WidthBefore an image is uploaded to Commonspot, the height and width dimensions of the image should be set appropriately. (see image uploading guidelines for recommendations on dimensions) In the example above, the optimized image on the right was set to a 210-pixel width. The image on the left was not resized in an image editing application before uploading the file. It's actual width is 337 pixels, but is modified in Commonspot to display at 210 pixels wide. Modifying the image's display dimensions after uploading to Commonspot doesn't change the "real" dimensions or file size. Applying Image Quality SettingsIn an image editing application, you can also optimize the file size by setting the compression, typically referred to as "quality". The optimized image uses a high quality setting, which is actually applying an 80% compression to the image file. The non-optimized image is not compressed at all, but the visual difference in quality between 80% and 100% is not noticeable. (You might notice that the larger, non-optimized image in the example above doesn't look quite as sharp as the optimized image. That's because it's height/width display settings were changed in the Web page, not in an image editor, which can cause some distortion when the image is displayed.) How do I optimize images?Setting an image file's height, width, and quality settings requires an image editing application. Commonspot does not include an image editor; you will need to use an application such as Adobe Photoshop, Macromedia Fireworks, or another application that allows you to open an image file and modify the height, width, and quality settings. Microsoft Photo Editor (in Microsoft Office Tools) can be used to modify dimensions, file type, and resolution, but if you have access to an application that is designed specifically for editing Web graphics, that would be a better choice. In general, you can rely on the default settings for image properties in the Photoshop and Fireworks when saving an image for the Web. In both cases, the applications' default settings will be suitable for most images. If you do not have Photoshop or Fireworks, you can use our online image sizing and optimization tool. Here are the steps you would follow to optimize an image in Photoshop and Fireworks:
Photoshop
| ||||||||||||||||||||||||||||||||
Related links | |
| Image Optimization Tool | If you don't have Photoshop or Fireworks, use this online tool to size and optimize your image for the Web. |
|






E-mail this page
