Sha256: 1d991c5354939ef76f288a491be4631d77cfba103a5c5d795829cd332bec1f79

Contents?: true

Size: 266 Bytes

Versions: 31

Compression:

Stored size: 266 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This class deals with uploading hero images to ParticipatoryProcesses.
  class OfficialImageHeaderUploader < RecordImageUploader
    set_variants do
      { default: { resize_to_fit: [160, 160] } }
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.8 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.7 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.6 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.10 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.9 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.5 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.8 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.4 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.3 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.7 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.5 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.4 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.3 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.0.rc2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.27.0.rc1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.26.2 app/uploaders/decidim/official_image_header_uploader.rb