Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different srcset depending on orientation #10

Open
tmfsd opened this issue Jul 3, 2017 · 0 comments
Open

Different srcset depending on orientation #10

tmfsd opened this issue Jul 3, 2017 · 0 comments

Comments

@tmfsd
Copy link

tmfsd commented Jul 3, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant