BookStack/tests/Uploads
Dan Brown 32e7f0a2e6
Made display thumbnail generation use original data if smaller
Thumbnail generation would sometimes create a file larger than the
original, if the original was already well optimized, therefore making
the thumbnail counter-productive. This change compares the sizes of the
original and the generated thumbnail, and uses the smaller of the two if
the thumbnail does not change the aspect ratio of the image.

Fixes #1751
2019-12-22 12:44:49 +00:00
..
AttachmentTest.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
AvatarTest.php Added testing for avatar fetching systems & config 2018-12-23 15:34:38 +00:00
ImageTest.php Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00
UsesImages.php Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00