Class: Decidim::HomepageImageUploader

Inherits:
RecordImageUploader show all
Defined in:
decidim-core/app/uploaders/decidim/homepage_image_uploader.rb

Overview

This class deals with uploading hero images to organizations.

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, #validate_dimensions, #validate_size

Methods inherited from ApplicationUploader

#downloader, #manipulate!, #provider, #store_dir

Instance Method Details

#max_image_height_or_widthObject


10
11
12
# File 'decidim-core/app/uploaders/decidim/homepage_image_uploader.rb', line 10

def max_image_height_or_width
  8000
end