Class: Decidim::Cw::HomepageImageUploader
- Inherits:
-
RecordImageUploader
- Object
- CarrierWave::Uploader::Base
- ApplicationUploader
- ImageUploader
- RecordImageUploader
- Decidim::Cw::HomepageImageUploader
- Defined in:
- app/uploaders/decidim/cw/homepage_image_uploader.rb
Overview
This class deals with uploading hero images to organizations.
Instance Attribute Summary
Attributes inherited from ApplicationUploader
Instance Method Summary collapse
Methods inherited from RecordImageUploader
#content_type_allowlist, #extension_allowlist
Methods inherited from ImageUploader
#content_type_allowlist, #dimensions_info, #extension_allowlist, #strip, #validable_dimensions, #validate_dimensions, #validate_size
Methods inherited from ApplicationUploader
#downloader, #provider, set_variants, #store_dir, #variant, variants
Instance Method Details
#max_image_height_or_width ⇒ Object
10 11 12 |
# File 'app/uploaders/decidim/cw/homepage_image_uploader.rb', line 10 def max_image_height_or_width 8000 end |