How to set max image height?

Comments

1 comment

  • Avatar
    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
    Comment actions Permalink

Please sign in to leave a comment.