• Resolved imtino

    (@imtino)


    I have new to Cloudinary and not exactly sure how they count “Transformations”. Anyways, it seems to count when it added this “w_720,h_540,c_fill” or similar. I do have the width and height attributes in my html. It’s good practice as I was told.

    But if I have attributes then it auto added “w_720,h_540,c_fill” accounting to the width and height. How do I not have that added? I just want to keep this cloudinary free of charge.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Junaid Bhura

    (@junaidbhura)

    Hi there @imtino

    Unfortunately, that’s how this plugin works, because it has to deal with dynamic image sizes.

    As far as transformations on Cloudinary go, the transformation is only counted the first time that image is generated:

    https://support.cloudinary.com/hc/en-us/articles/203619481-How-does-Cloudinary-count-transformations-

    You can probably contact Cloudinary support for any clarifications regarding their pricing.

    Thread Starter imtino

    (@imtino)

    Thanks @junaidbhura for answering my question. I’ve read that article a few times and still don’t get it. hehehe…

    Just to clarify what you are saying “first time”, meaning after that for lifetime it will not count again or next month it will start over again?

    Anyway, I ending up commented out the transformation part in your code and it works. I hope it doesn’t break anything else.

    /* Disable Transformation
    			'angle'                => 'a',
    			'aspect_ratio'         => 'ar',
    			'background'           => 'b',
    			'border'               => 'bo',
    			'crop'                 => 'c',
    			'color'                => 'co',
    			'dpr'                  => 'dpr',
    			'duration'             => 'du',
    			'effect'               => 'e',
    			'end_offset'           => 'eo',
    			'flags'                => 'fl',
    			'height'               => 'h',
    			'overlay'              => 'l',
    			'opacity'              => 'o',
    			'quality'              => 'q',
    			'radius'               => 'r',
    			'start_offset'         => 'so',
    			'named_transformation' => 't',
    			'underlay'             => 'u',
    			'video_codec'          => 'vc',
    			'width'                => 'w',
    			'x'                    => 'x',
    			'y'                    => 'y',
    			'zoom'                 => 'z',
    			'audio_codec'          => 'ac',
    			'audio_frequency'      => 'af',
    			'bit_rate'             => 'br',
    			'color_space'          => 'cs',
    			'default_image'        => 'd',
    			'delay'                => 'dl',
    			'density'              => 'dn',
    			'fetch_format'         => 'f',
    			'gravity'              => 'g',
    			'prefix'               => 'p',
    			'page'                 => 'pg',
    			'video_sampling'       => 'vs',
    			*/
    Plugin Author Junaid Bhura

    (@junaidbhura)

    Yes, that’s right. It won’t count the transformation again if it has already done it once before. You can contact Cloudinary support to clarify.

    I wouldn’t recommend modifying the plugin’s code, because you will lose these changes when the plugin updates the next time. You can try to use WordPress hooks instead. Here’s a list supported by this plugin:

    https://github.com/junaidbhura/auto-cloudinary/wiki/Filters

    I’m afraid you’re going to have to figure this out on your own, depending on your code ??

    Thread Starter imtino

    (@imtino)

    Awesome, thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Don’t want to use this w_720,h_540,c_fill’ is closed to new replies.