Sha256: af3e90c8423391ff4035c47287165b6aa7edec42d668ffd69742a54940e1fb5f

Contents?: true

Size: 258 Bytes

Versions: 44

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # 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

44 entries across 44 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.4 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.27.9 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.29.0 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.3 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.27.8 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.29.0.rc4 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.29.0.rc3 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.29.0.rc2 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.29.0.rc1 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.2 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.27.7 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.1 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.27.6 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.26.10 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.26.9 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.0 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.27.5 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.0.rc5 app/uploaders/decidim/hero_image_uploader.rb
decidim-core-0.28.0.rc4 app/uploaders/decidim/hero_image_uploader.rb