Feature #76226
closedLimit filesize of image sent through graphics-/imagemagick
0%
Description
Scenario
User uploads a very large image which is allowed because big files have to be offered for download.
It could happen that the user takes an image directly from a digicam and some image becomes very large.
Problem
Graphicsmagick has no configuration option to limit the maximal allowed filesize only a pixellimit (width x height <= MAGICK_LIMIT_PIXELS).
The user has thumbnail generation activated by default which blocked the server.
Possible Solution
Add a parameter to the install tool which blocks processing of images if a filesize limit is exceeded.
Updated by Riccardo De Contardi almost 8 years ago
The extension image_autoresize (https://typo3.org/extensions/repository/view/image_autoresize) could be of help...
Updated by Daniel Wagner about 7 years ago
Thank you! Yes, true, but that is only a partial solution (in use already).
Partial because
- transparent PNG could be exluded from autoresize (it's configurabe)
- there could be a folder exception for images that could be downloaded (thumbnail generation)
Updated by Susanne Moog over 6 years ago
- Category changed from Image Cropping to Image Generation / GIFBUILDER
Updated by Georg Ringer about 4 years ago
- Status changed from New to Rejected
Thanks for creating this feature request. As said there is an extension to solve it. Otherwise you use those hooks directly to change the behaviour.
As the limit might be different for different records / directories or usages it wouldn't make sense to have one manually defined maximum limit. Therefore I am closing this issue.
Updated by Benni Mack about 4 years ago
- Sprint Focus changed from PRC to Needs Decision