Skip to content

Commit

Permalink
Enable preprocessed default variant for cover images
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Jan 17, 2024
1 parent 127026f commit 0d40e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/imageable_concern.rb
Expand Up @@ -6,7 +6,7 @@ module ImageableConcern
included do
has_one_attached :cover_image do |attachable|
attachable.variant :small, resize_to_fill: [200, 200]
attachable.variant :medium, resize_to_fill: [300, 300]
attachable.variant :medium, resize_to_fill: [300, 300], preprocessed: true
attachable.variant :large, resize_to_fill: [400, 400]
end

Expand Down

0 comments on commit 0d40e33

Please sign in to comment.