app/uploaders/phcpresspro/pstimage_uploader.rb in phcpresspro-4.2.2 vs app/uploaders/phcpresspro/pstimage_uploader.rb in phcpresspro-4.2.3
- old
+ new
@@ -1,15 +1,18 @@
class Phcpresspro::PstimageUploader < CarrierWave::Uploader::Base
- # Include Cloudinary (Install Cloudinary Gem in Gemfile)
- include Cloudinary::CarrierWave
+ # Include Cloudinary (Install Cloudinary Gem in Gemfile)
+ include Cloudinary::CarrierWave
- # Image Version
- version :standard do
- process :resize_to_fill => [100, 150, :north]
- end
+ # Image Versions and Sizing
+ version :original do
+ end
- version :thumbnail do
- resize_to_fit(50, 50)
- end
+ version :standard do
+ process :resize_to_fill => [100, 150, :north]
+ end
+
+ version :thumbnail do
+ resize_to_fit(50, 50)
+ end
end
\ No newline at end of file