jan-herman / kirby-images
Opinionated set of Kirby snippets and utilities for serving highly optimized versions of images.
Installs: 52
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:kirby-plugin
Requires
- php: ^8.1
- getkirby/cms: ^4.0
- getkirby/composer-installer: ^1.2
README
Roadmap
- $asset support
- fix focus point
- LQIP implementation
- cache expensive aspect ratio calculations?
v2.0
- calculate object-position in css instead of php?
- add support for native lazy loadign and other libraries (currently only
lazysizes
is supported) - [ ] filters for html markup - set legacyAspectRatio to false by default
- remove
ratioPercentage
file and asset method - remove
crop
attribute (replaced byobject_fit
) - set object_fit to data-attribute instead of style
- add width & height attributes to images
- add slots to image snippet?
- automatic container & sizes detection from latte AST tree
- image format options (avif support, option to disable jpeg fallbacks)