Brett Klamer

How to Use imageoptim in Middleman

Using imageoptim in middleman isn't very straightforward on ubuntu. Here is how I did it.

Install and Prepare the imageoptim Middleman Extension

Install and Prepare the image_optim ruby gem

Now it should work! The optimization may take a while if you have a lot of images.