mirror of
https://github.com/getgrav/grav.git
synced 2026-02-10 08:37:43 +01:00
* Add option images.defaults.size to set default height/width - Add option to config/system.yaml - Add option to blueprints/config/system.yaml - Add ImageSizeTrait.php - Add ImageSizeTrait to ImageMedium.php - Add Unit tests * moved width/height to rendering phase * Add test: height/width should be of resized image. * Added optional apsect-ratio variable * more improvements * Added aspectRatio and retinaScale image functions * remove use for old trait * reset the CLS variables after calling reset on the image Co-authored-by: Andy Miller <rhuk@mac.com>