Add original version to uploaders
This commit is contained in:
parent
3cc05a395f
commit
9757c56a2b
|
@ -23,6 +23,8 @@ class ProfileHeaderUploader < CarrierWave::Uploader::Base
|
|||
"/images/header/" + [version_name, "no_header.jpg"].compact.join('/')
|
||||
end
|
||||
|
||||
version :original
|
||||
|
||||
version :web do
|
||||
process resize_to_fit: [1500, 350]
|
||||
end
|
||||
|
|
|
@ -23,6 +23,8 @@ class ProfilePictureUploader < CarrierWave::Uploader::Base
|
|||
"/images/" + [version_name, "no_avatar.png"].compact.join('/')
|
||||
end
|
||||
|
||||
version :original
|
||||
|
||||
version :large do
|
||||
process resize_to_fit: [500, 500]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue