Feature #76226

Limit filesize of image sent through graphics-/imagemagick

Added by Daniel Wagner over 5 years ago. Updated over 1 year ago.

Could have
Image Generation / GIFBUILDER
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Sprint Focus:
Needs Decision


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.

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 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).

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 almost 4 years ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER

Updated by Georg Ringer over 1 year ago

  • Sprint Focus set to PRC

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.


Updated by Benni Mack over 1 year ago

  • Sprint Focus changed from PRC to Needs Decision

Also available in: Atom PDF