kirby-responsive-images icon indicating copy to clipboard operation
kirby-responsive-images copied to clipboard

Different srcset depending on orientation

Open tmfsd opened this issue 7 years ago • 0 comments

Imagine the following scenario: I have horizontally oriented (landscape) images with a max side length of 2400x1600px and vertically oriented (portrait) images with a max side length of 1600x2400px.

For the landscape images I may want two sources with 2000w and 2400w which I do not need for the portrait images, and for portrait images a might want a source with 1600w that I don't need for landscape images.

So how about the option to define different srcsets for both orientations from which the cms chooses automatically?

tmfsd avatar Jul 03 '17 14:07 tmfsd