How to compress your website images
As a sub post to our earlier article ‘How and Why You Should Optimise Your Website’s Images’ I thought I’d write a few words and point you in the direction of a few ways to compress your website images.
As we work primarily in WordPress, naturally we’ll look to see if there’s a plugin for that or at least an API we can hook into.
One of the best services around is TinyPNG – although they also convert JPGs as well as PNG – and as well as having a WordPress plugin, they also offer access to their API and, for those that use Photoshop, they even have a plugin for that.
TinyPNG WordPress plugin:
With this plugin you can automatically optimise all your images by integrating with the TinyJPG and TinyPNG API which will in turn automatically optimise any images you upload. You can also preserve copyright metadata, creation date and GPS location in the original images and it’s WooCommerce compatible.
Another option would be to use an online service like Compressor.io. This free service allows you to upload your compressed images directly to your Google Drive or Dropbox accounts.
It also allows you to compress SVG and GIF files, as well as the standard JPEG and PNG.
The final recommendation is a mac based desktop application and a web service called ImageOptim.
Essentially Image Optim allows you to rip out all the EXIF metadata, such as GPS position and camera’s serial number if you so choose.
Oh, and in case you’re interested, I used TinyPNG to compress the images in this article but, in case you want to know more, feel free to contact us today.