You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version :thumb do
# process :resize_to_fill => [1000, 400]
process thumbnail: [{format: 'png', quality: 10, size: 1000, strip: false, logger: Rails.logger}]
this is the code in video_uploader ,on uncommenting resize to fill gives undefined method error
Please tell how to customize my thumbnail to particular height and width using this gem.
Thanks
Etika
The text was updated successfully, but these errors were encountered:
For resize thumbnail install MiniMagic and add version:
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::MiniMagick
...
version :small_thumb, from_version: :thumb do
process resize_to_fill: [20, 200]
end
end
version :thumb do
# process :resize_to_fill => [1000, 400]
process thumbnail: [{format: 'png', quality: 10, size: 1000, strip: false, logger: Rails.logger}]
this is the code in video_uploader ,on uncommenting resize to fill gives undefined method error
Please tell how to customize my thumbnail to particular height and width using this gem.
Thanks
Etika
The text was updated successfully, but these errors were encountered: