grav/tests
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
..
_support Update Core to follow PSR-2 standard 2019-10-15 13:33:48 +03:00
acceptance 🚨 Remove acceptance test example 2016-01-22 10:39:15 +01:00
fake add faker for multiple parts with folder 2021-02-02 07:27:21 +07:00
functional Removed fzaninotto/faker library 2021-02-01 11:27:08 +02:00
phpstan Phpstan fixes 2021-03-31 22:11:55 +03:00
unit Add option images.defaults.size to set default height/width (#3272) 2021-04-05 11:21:03 -06:00
_bootstrap.php Resolved merge conflict 2021-02-01 22:43:28 +07:00
acceptance.suite.yml Add first UI test example 2016-01-10 19:10:52 +01:00
functional.suite.yml Add and bootstrap codeception 2016-01-05 11:01:02 +01:00
unit.suite.yml Add and bootstrap codeception 2016-01-05 11:01:02 +01:00