We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501552c commit e80bdd5Copy full SHA for e80bdd5
app/models/alchemy/picture.rb
@@ -208,7 +208,7 @@ def thumbnail_url(size: "160x120")
208
209
url(
210
flatten: true,
211
- format: image_file_format || "jpg",
+ format: image_file_extension || "jpg",
212
size: size
213
)
214
end
app/models/concerns/alchemy/picture_thumbnails.rb
@@ -84,7 +84,7 @@ def thumbnail_url_options
84
crop_from: crop && crop_from.presence || default_crop_from&.join("x"),
85
crop_size: crop && crop_size.presence || default_crop_size&.join("x"),
86
87
- format: picture&.image_file_format || "jpg"
+ format: picture&.image_file_extension || "jpg"
88
}
89
90
0 commit comments