eexit / ghost-storage-cloudinary

:rocket: A fully-featured and deeply tested Cloudinary Ghost storage adapter

Home Page:https://ghost.org/integrations/cloudinary/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format option not working

yogeshbeniwal opened this issue · comments

Adding both options for format and quality is resulting in wrong URL of https://res-2.cloudinary.com/NAME/image/upload/q_auto/v1/blog/2021/02/Testing.png.auto instead of https://res-2.cloudinary.com/NAME/image/upload/q_auto,f_auto/v1/blog/2021/02/Testing.png

Below is the configuration used for Fetch section.

  "fetch": {
    "format": "auto",
    "quality": "auto",
    "secure": true,
    "cdn_subdomain": true

}

@yogeshbeniwal I ran into this and did some digging. If you check the Cloudinary Node docs, you want to use "fetch_format" as the key.