jan-herman/kirby-images

Opinionated set of Kirby snippets and utilities for serving highly optimized versions of images.

1.2.0 2024-10-14 15:14 UTC

This package is auto-updated.

Last update: 2024-11-14 15:27:25 UTC


README

Roadmap

  • $asset support
  • fix focus point
  • ThumHash 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)
  • set legacyAspectRatio to false by default
  • remove ratioPercentage file and asset method
  • remove crop attribute (replaced by object_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