Sha256: ba9672dff0f068f55e1a11152ae7229a1b8cb41ffc021a6bf1bd473f4fe0ab48

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This class deals with uploading hero images to ParticipatoryProcesses.
  class OfficialImageHeaderUploader < ImageUploader
    process resize_to_fit: [160, 160]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.22.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.21.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.20.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.20.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.19.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.19.0 app/uploaders/decidim/official_image_header_uploader.rb