9 Commits (main)

Author SHA1 Message Date
Óscar f8e98afd9d
feat: add `raw_path` parameter to image shortcodes (#439) 3 months ago
Óscar 27525fc13f
feat(shortcodes): add inline option to image shortcodes (#315) 9 months ago
Óscar ed845eaf25
feat(shortcodes): support URLs for image source (#280) 1 year ago
Óscar Fernández 7796162e37
feat: allow relative paths for image shortcodes (#222) 1 year ago
Óscar 1c3db86b75
feat(image shortcodes): add lazy loading (#116)
Additionally sets the `alt` parameters as optional and cleans HTML output.
2 years ago
welpo fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2 years ago
welpo b5b50cdefb
🐛 fix: handle missing image metadata gracefully 2 years ago
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.
2 years ago
welpo b3dc5396b4
feat: add dual image support for switching themes 2 years ago