Skip to main content

How to set max image height?

Comments

1 comment

  • Tia Esguerra

    Hi Nick,

    Thanks for reaching out. I would advise the c_lfill transformation. This will scale the image down to the maximum dimension(s) that you specify, only if the original image is larger than what you've specified. I can link to our documentation on that cropping mode for your reference: https://cloudinary.com/documentation/transformation_reference#c_lfill 
    Can you take a look at those docs and let me know how this works for your use case?

    Kind Regards, 

    Tia

    0

Post is closed for comments.