Using minimagick gem to build thumbnails.