Fixing Height of Responsive Breakpoints

Comments

1 comment

  • Avatar
    Michal Kuperman

    Hi Mojtaba,

    When using the javascript method to automatically create responsive images, there isn't an option to choose the height.

    In your case, I suggest you create responsive images by using the `srcset` and `sizes` approach, where you can include the height transformation. 

    You can read more about this here: 

    https://cloudinary.com/blog/responsive_images_with_srcset_sizes_and_cloudinary

    Hope this helps, please let me know if you need help implementing this.

    Thanks,

    Michal

    0
    Comment actions Permalink

Please sign in to leave a comment.