Project

General

Profile

Actions

Feature #76226

closed

Limit filesize of image sent through graphics-/imagemagick

Added by Daniel Wagner almost 8 years ago. Updated about 4 years 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.

Actions #1

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

Actions #2

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)

Actions #3

Updated by Susanne Moog over 6 years ago

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

Updated by Georg Ringer about 4 years ago

  • Sprint Focus set to PRC
Actions #5

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.

Actions #6

Updated by Benni Mack about 4 years ago

  • Sprint Focus changed from PRC to Needs Decision
Actions

Also available in: Atom PDF