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.6.8 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.8 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.7 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.7 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.6 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.6 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.5 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.5 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.4 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.4 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.3 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.3 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.2 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.2 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.1 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.6.0 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.6.0 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb
decidim-core-0.5.1 app/uploaders/decidim/official_image_header_uploader.rb
decidim-0.5.1 decidim-core/app/uploaders/decidim/official_image_header_uploader.rb