8 Commits

Author SHA1 Message Date
Óscar
27525fc13f
feat(shortcodes): add inline option to image shortcodes (#315) 2024-05-18 14:52:39 +02:00
Óscar
ed845eaf25
feat(shortcodes): support URLs for image source (#280) 2024-02-16 00:49:16 +01:00
Óscar Fernández
7796162e37
feat: allow relative paths for image shortcodes (#222) 2023-11-24 02:10:43 +01:00
Óscar
1c3db86b75
feat(image shortcodes): add lazy loading (#116)
Additionally sets the `alt` parameters as optional and cleans HTML output.
2023-08-26 01:57:19 +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