• Resolved itsjustrahul

    (@itsjustrahul)


    Dear Junaid,

    First of all, let me thank you and congratulate you on building such an awesome plugin. Simply a breeze!!!

    Now my question is, how can I set up parameters such as w_auto,dpr_auto,q_auto for all of my images? These parameters will take this plugin to the next level of automation with perfectly responsive images with the best-fit quality delivered. It will immensely help to improve the page speed performance.

    Once again thank you so much.

    Cheers!
    Rahul

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

    (@junaidbhura)

    Hey @itsjustrahul

    I’m glad you find this plugin useful!

    This plugin is actually quite flexible in terms of what you can do with it.

    If you want to force some arguments on all images, you can do something like this:

    
    add_filter( 'cloudinary_args', function ( $args ) {
    	return array(
    		'transform' => array(
    			'width'   => 'auto',
    			'dpr'     => 'auto',
    			'quality' => 'auto',
    		),
    	);
    } );
    

    There are more filters you can use, to suit your exact need:

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

    Good luck!

    • This reply was modified 5 years, 12 months ago by Junaid Bhura. Reason: Update formatting
Viewing 1 replies (of 1 total)
  • The topic ‘q_auto, w_auto parameters’ is closed to new replies.