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

Also available in: Atom PDF