Image optimization is one of those things that anyone involved in web development should be thinking about if they aren’t doing so already. Personally, I think if you’re involved in the field, you eventually bump up against the need for it when working on a project for yourself or someone else.
And in WordPress, there are a lot of plugins and other options that we have for optimizing our images (and other assets. But what if you’re looking to do so while working with files on your local machine there are some different ways of doing so.
I’m actually in the process of migrating some different sites to different hosts right now (speaking of which, this may be interesting reading for those of you who manage sites on shared or budget hosting).
In the process of doing so, I’m taking the opportunity to optimize all of the images that are being migrated and optimizing them. Bt I’m not using a plugin or other web-based tool to do it.
Instead, I’m using ImageOptim.
The website is clear as to what the application does:
ImageOptim is a free app that makes images take up less disk space and load faster, without sacrificing quality. It optimizes compression parameters, removes junk metadata and unnecessary color profiles.
In short, it’s Mac app into which you can drag image files and have it process them automatically so that you don’t have to deal with duplicate filenames, new file locations, and all of that.
I’ve found it to be a solid resource when working with WordPress-based sites because it makes working with the
uploads directory and thus the Media Library so much easier.
Finally, the app is open source and available on GitHub if you’re interested in viewing or contributing to the source code.
A Note About Image Optimization
Furthermore, for those who are wondering, image optimization for the web is something that’s not new, but it’s something that helps page load time (which does factor into your search results).
On top of that, if you have visitors that are coming from all over the world, then their connection may not be as fast or the time it takes the data to travel from your host’s data center to their computer could be (and likely is) longer than it does to travel to you. Ultimately, it impacts their experience, and we should aim to make it as robust as possible.
No, this isn’t the primary tool I use, but if you’re in the process of a migration and looking for a tool for batch image optimization that’s not a plugin or web-based tool, I recommend it.
Image Optimization With ImageOptim was written by Tom. For more information about WordPress, development, and resources then visit Tom McFarlin’s blog.
Read more here:: Image Optimization With ImageOptim