BookStack/app/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
..
Attachment.php Updated to Laravel 5.8 2019-09-13 23:58:40 +01:00
AttachmentService.php Updated to Laravel 5.8 2019-09-13 23:58:40 +01:00
HttpFetcher.php PHPCS related fixes. 2019-01-27 15:59:23 +05:30
Image.php Change image-selector to not use manager 2019-05-04 15:50:29 +01:00
ImageRepo.php Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00
ImageService.php Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00
UploadService.php Re-structured the app code to be feature based rather than code type based 2018-09-25 12:30:50 +01:00