Add resize support when gallery_image_geometry and rmagick are present