Feature #76226

Limit filesize of image sent through graphics-/imagemagick

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

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2016-05-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Needs Decision

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.

#1

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

#2

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)

#3

Updated by Susanne Moog almost 4 years ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER
#4

Updated by Georg Ringer over 1 year ago

  • Sprint Focus set to PRC
#5

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.

#6

Updated by Benni Mack over 1 year ago

  • Sprint Focus changed from PRC to Needs Decision

Also available in: Atom PDF