Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#93: JIT and upload field limiting

There is a misconception between file size and screen size with images when it comes to image manipulation. Even for a small image, if the total pixel surface area is large, the amount of memory required is significantly large. In this instance, checking by file size does not guarantee that manipulation via GD will succeed.

There should be a configuration/define to set the allowable maximum image size for upload.

Should this be a maximum that users can upload or a maximum over which JIT will refuse to process when asked to? Perhaps an optional numeric setting in System > Preferences such as:

Do not process images larger than [ 4 ] MB in size

Or simply a default in the config.php.

Will also need some sensible fallback image too, for a) when images are not found and a 404 is returned or b) JIT refuses to process (401, 500?). Could this also be defined in the config globally, or a per-URL basis (like Gravatar).

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details