Sha256: 0f1bf3f31da6e7ef82783ada20c2102e5ca5e51e018a3971cec235236ca6de79

Contents?: true

Size: 262 Bytes

Versions: 38

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
decidim-core-0.27.1 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.4 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.27.0 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.3 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.27.0.rc2 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.27.0.rc1 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.2 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.1 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.0 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.0.rc2 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.26.0.rc1 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.2 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.1 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.0 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.0.rc4 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.0.rc3 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.0.rc2 app/uploaders/decidim/cw/hero_image_uploader.rb
decidim-core-0.25.0.rc1 app/uploaders/decidim/cw/hero_image_uploader.rb