Open bemayr opened 2 years ago
The current preview images does not resize the images accordingly and does not provide alt-text for a11y reasons.
Utilizing @11ty/eleventy-img we could automatically preprocess the images and extract the alt-text out of its exif data to generate a shape like:
@11ty/eleventy-img
[ { imageUrl: "<url>", thumbnailUrl: "<url>", meta: "<meta text>" }, { "//": "..." } ]
Problem Description
The current preview images does not resize the images accordingly and does not provide alt-text for a11y reasons.
Idea
Utilizing
@11ty/eleventy-img
we could automatically preprocess the images and extract the alt-text out of its exif data to generate a shape like:References