Commit graph

5 commits

Author SHA1 Message Date
welpo
ec31c71b38
feat(shortcodes): add lazy loading & make alt optional
- Implement lazy loading in all image shortcodes, enabled by default.

- Make alt attributes optional across all image shortcodes.

- Optimize HTML output by managing whitespace.
2023-08-26 01:48:16 +02:00
welpo
fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2023-07-05 02:43:07 +02:00
welpo
b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2023-04-16 18:06:20 +02:00
welpo
b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2023-04-16 03:21:41 +02:00
welpo
799b31d403
✏️ fix: minor typo 2023-02-18 03:24:58 +01:00
Renamed from templates/shortcodes/invertable_image.html (Browse further)