Sha256: 5befca921ebf11ff80ac59ea16d1d82fa7d0ae81b06e50c3e3f5234ec9eff79d
Contents?: true
Size: 382 Bytes
Versions: 16
Compression:
Stored size: 382 Bytes
Contents
class CoverImageUploader < ImageUploader def store_dir "uploads/cover_images/#{model.id}" end version :large do process :resize_to_fill => [750, 368] end version :medium do process :resize_to_fill => [550, 294] end version :small do process :resize_to_fill => [300, 160] end version :tiny do process :resize_to_fill => [100, 54] end end
Version data entries
16 entries across 16 versions & 1 rubygems