0
0
Fork 0
mirror of https://github.com/getgrav/grav.git synced 2025-01-22 07:41:43 +00:00
getgrav_grav/tests/unit/Grav/Common/Markdown
pamtbaau e02d298ff4
Add option images.defaults.size to set default height/width (#3272)
* 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>
2021-04-05 11:21:03 -06:00
..
ParsedownTest.php Add option images.defaults.size to set default height/width (#3272) 2021-04-05 11:21:03 -06:00