Add to Favorites

Optimize Your Photos for the Web

Pixels

In an age of high resolution phone displays and widescreen desktop monitors, it is important to have quality images on your web site – but don’t make them too big.

The amount of time it takes for a page to load can have an effect on your website’s credibility with search engines as well as drive away users if it is slow. Luckily there are some easy ways to make your images look great on the web without sacrificing quality.

Most photo editing software gives you ability to easily adjust the size and compression of your images. In Adobe PhotoShop, there is a feature called Save for Web & Devices that helps you to do this very quickly. Let’s say your image is ready to be uploaded to your site, it is currently 17 megabytes and needs to fit into an area about 320 pixels wide (this is about a 3rd of the width of the main content area of most modern websites).

  1. Open the image in PhotoShop
  2. Go to File > Save for Web & Devices
  3. Change the Preset to JPEG High
  4. Adjust the image width to 320 px (the height will automatically adjust to the width)
  5. Hit Save and choose a location and name for your image

Your image went from 17 megabytes to 27 kilobytes and is now estimated to load in 1 second!

Some things to remember:

  • Size – always save your images to the exact dimensions to which you will be displaying them. Remember, even when viewing your site on an HD laptop or monitor, your images will still only display at 72 dpi (dots per inch). To put that number into perspective, most print documents are 300 dpi. Save for exact sizes and your pictures will come through looking good without bogging down your webpage.
  • Compression – if you have a lot of the same color, you can compress your image to combine similar colors in order to reduce the size of your image. Preview and test your rate of compression until your image is small enough without looking pixilated.

Comments

04/22/2011 8:58am
My preferred photo editor for the web is Adobe Fireworks. You can quickly export any photo to an optimized format in seconds. Just open your image in fireworks and under the "optimize" tab choose the compression setting you wish. (Quality for web will work great at 73). Then file>export or ctrl-shift-r and you're good to go.

Leave a comment

To leave a comment, please log in / sign up