added minimagick gem to resize images to 150x150 for thumbnail and 400x400 max
centered image in preview box