Sha256: 266df37f12900d19a69b7373a56fb730acaa90648f868baf8f6be184adc189f4

Contents?: true

Size: 257 Bytes

Versions: 70

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
decidim-core-0.18.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.17.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.18.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.17.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.16.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.17.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.16.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.15.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.15.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.15.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.14.4 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.14.3 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.14.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.14.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.13.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.12.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.13.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.12.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.13.0.pre1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.12.0 app/uploaders/decidim/official_image_header_uploader.rb