Fixing Height of Responsive Breakpoints
I have an image and I want to generate responsive breakpoints for that image. However, I want to have a fixed height for all scaled down images. That means the aspect ratio of the generated images are not the same as the AR of the original one.
I tried the following setting bu it generates different heights. Any idea how it would be possible?
My original image is 1200(w)*480(h), and I received five images: 200*80, 319*128, 411*164, 487*195, 500*200.
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:
Hope this helps, please let me know if you need help implementing this.
Post is closed for comments.