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

Automatic srcset generation for responsive images (portrait, landscape and sizes) #88

Open
Tomasz-Kluczkowski opened this issue Mar 21, 2018 · 0 comments

Comments

@Tomasz-Kluczkowski
Copy link
Contributor

Currently the way responsive images are used is to hardcode all their versions into the or tags. I would rather have a set of images with their resolutions and orientation encoded in the file names and generate a string representing srcset for or tags using Liquid's logic. All the static files like images are stored in jekyll's variable site.static_files. They include path, modified_time and extname as their attributes.

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

No branches or pull requests

1 participant