Sha256: d650efc67d4a3f0d9f536a7e5f103d7a7be556f86ec37981206d050fd96f3c00
Contents?: true
Size: 589 Bytes
Versions: 42
Compression:
Stored size: 589 Bytes
Contents
module Virgo class FeaturedImageUploader < Virgo::ApplicationUploader # Create different versions of your uploaded files: version :thumb do process :resize_to_fill => [301, 169] end version :med_thumb do process :resize_to_fill => [600, 337] end version :content do process :resize_to_limit => [800, 800] end version :featured do process :resize_to_limit => [1000, 800] end version :wide do process :resize_to_fill => [2000, 578] end def extension_white_list %w(jpg jpeg gif png) end end end
Version data entries
42 entries across 42 versions & 1 rubygems