Archives For images

I often hear people talking about the proper dpi/ppi to use when creating images for websites.  Here is the simple answer: it doesn’t matter at all.  Not even a little bit.

It is certainly a big deal when designing print pieces, as that’ll make a big difference in how it looks.  On the web, though, all that matters is pixels.  It’s often said that web images should be 72 ppi, but that doesn’t matter.  72 ppi is fine, but certainly not required.

As an example, here are four images that are each 300×300 pixels in size, but with varying levels of ppi:

72 ppi, 19.7KB
samsung 72
300 ppi, 19.7KB
samsung 300
1 ppi, 19.7KB
samsung 1
10,000 ppi, 19.7KB
samsung 10,000

On the web, it clearly doesn’t matter.  However, you’ll want to keep those high-resolution (and high ppi) files for printing in a separate location.  If I ever scale an image down for the web, I make sure to keep an original high-resolution copy of the image safe somewhere.

Another consideration are the new HD/Retina displays coming out, that show images in a sharper resolution than they’re shown on the screen.  This still has nothing to do with ppi.  As explained by mobify:

So if you want to create an HD image at 200 x 200 on a Retina display, create the image at 400 x 400 then use CSS to control the HD image down to 200 x 200: img { width:200px; height:200px; }.

So there you go. Use any ppi you want, just make sure your images are sized correctly!

I often have people ask how they can quickly crop and/or resize pictures in Windows.  I use a free program called Paint.net (found at getpaint.net) that does a very nice job.  Here’s a quick video showing how it works.

Of course, this only works in Windows.  If you have a Mac and have suggestions on a similar program for OSX, please leave a comment to let people know about it.

Update: This video is now also available over on A Brighter Web.

I always thought there were two options for adding an image to a WordPress post:

  1. Upload it through the image manager.
  2. Enter a URL and “hotlink” it from there.

It turns out there’s a third, as described by wp-fun — upload and crunch directly from the net.  When you click on “choose files to upload”, just paste a URL in that box.  WordPress will pull the image from that URL, crunch it, and upload it to your server!

As an example, take this image from the Digital Earth Blog.  Rather than save it to my hard drive and then upload it to my blog, I can do it in one step.  Voila!

Between that trick and the excellent Fancy Zoom plug-in, you can add a pretty nice image to your post in just a few seconds.

Please note that this trick apparently doesn’t work on Macs, because they don’t have a filepath box.  For the rest of you, enjoy it!

Mickey