Sha256: adcfd892b4ef8dd9294f4be1f7c5a9a4d7fea06fe16719a8fe483264917a43ce
Contents?: true
Size: 444 Bytes
Versions: 18
Compression:
Stored size: 444 Bytes
Contents
class Sufia::AvatarUploader < CarrierWave::Uploader::Base include CarrierWave::MiniMagick include CarrierWave::Compatibility::Paperclip process convert: 'png' version :medium do process resize_to_limit: [300, 300] end version :thumb do process resize_to_limit: [100, 100] end def default_url "/assets/missing_#{version_name}.png" end def extension_white_list %w(jpg jpeg png gif bmp tif tiff) end end
Version data entries
18 entries across 18 versions & 2 rubygems