[deploy] Change default fetch format in cloudinary links (#8226)
This commit is contained in:
parent
fe96375110
commit
fb6685ec1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue