Limit filesize of image sent through graphics-/imagemagick
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.
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.
Add a parameter to the install tool which blocks processing of images if a filesize limit is exceeded.
Updated by Riccardo De Contardi over 5 years ago
The extension image_autoresize (https://typo3.org/extensions/repository/view/image_autoresize) could be of help...
Updated by Daniel Wagner over 4 years ago
Thank you! Yes, true, but that is only a partial solution (in use already).
- 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 Georg Ringer over 1 year 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.