add MiniMagick; resize uploaded images; create thumbnails