summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/img.html
AgeCommit message (Collapse)Author
2025-07-14refactor: keep layouts folder structure up to standardsEltrac
2025-05-06fix: avoid showing thumbnail in sourceEltrac
The old lazy-loading solution requires an extra data-src attribute where the real image url is set. The script will replace src with data-src value when img tag is observed. But this caused a problem: Third-party applications like RSS readers do not load script, hence the image source is always the placeholder (a blurry version of the real image). Considering the fact that a placeholder image does not improve user experience that well, I removed it.
2025-04-30chore: deal with image lazyloadingEltrac
- lazyload post banner image - lazyload book cover - tidy up lazyload attributes in image shortcode
2025-01-02perf: show blurry thumbnail image before lazy loadingEltrac
2024-12-29fix(theme): parse image titlesEltrac
2024-12-19feat: image lazyload & refactor: external js importEltrac
2024-12-19refactor: disable theme and move layout files to rootEltrac