implemented mini_magick to save uploaded images in multiple sizes