Skip to content

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

Description

@Tomasz-Kluczkowski

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions