Skip to content

Commit

Permalink
Merge pull request #2681 from tvdeyen/cropper-webp
Browse files Browse the repository at this point in the history
Use webp for image cropper
  • Loading branch information
tvdeyen authored Jan 9, 2024
2 parents 7ab2e6f + c8bdae0 commit fd8ab9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/alchemy/admin/crop.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<%= simple_format Alchemy.t(:explain_cropping) %>
<% end %>
<div class="thumbnail_background">
<%= image_tag @picture.url(size: '800x600', flatten: true), id: 'imageToCrop' %>
<%= image_tag @picture.url(size: '800x600', flatten: true, format: "webp"), id: 'imageToCrop' %>
</div>
<form>
<%= button_tag Alchemy.t(:apply), type: 'submit' %>
Expand Down

0 comments on commit fd8ab9f

Please sign in to comment.