Class: Decidim::Cw::OrganizationFaviconUploader

Inherits:
ImageUploader show all
Defined in:
decidim-core/app/uploaders/decidim/cw/organization_favicon_uploader.rb

Overview

This class deals with uploading an organization’s favicon.

Constant Summary collapse

SIZES =
{
  big: 152,
  medium: 64,
  small: 32
}.freeze

Instance Attribute Summary

Attributes inherited from ApplicationUploader

#validable_dimensions

Method Summary

Methods inherited from ImageUploader

#content_type_allowlist, #dimensions_info, #extension_allowlist, #max_image_height_or_width, #strip, #validable_dimensions, #validate_dimensions, #validate_size

Methods inherited from ApplicationUploader

#downloader, #provider, set_variants, #store_dir, #variant, variants