[deploy] Change default fetch format in cloudinary links (#8226)

This commit is contained in:
Ben Halpern 2020-06-01 17:53:04 -04:00 committed by GitHub
parent fe96375110
commit fb6685ec1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ module ApplicationHelper
"https://res.cloudinary.com/#{ApplicationConfig['CLOUDINARY_CLOUD_NAME']}/image/upload/#{postfix}"
end
def cloudinary(url, width = "500", quality = 80, format = "jpg")
def cloudinary(url, width = "500", quality = 80, format = "auto")
cl_image_path(url || asset_path("#{rand(1..40)}.png"),
type: "fetch",
width: width,