Gallery3:Modules:max size - Gallery Codex
Personal tools

Gallery3:Modules:max size

From Gallery Codex

Max size

Automatically scale down the original image if it's too large. For example, if it's 1600x1200 and you don't want the full size image that large, this module will scale it down.

  • This module will NOT overcome limitations set on your host. For example, if your host limits you to uploading 1MB files, this module cannot fix that. The reason is that the file gets uploaded to the server, PHP then sees that it's exceeded the limit and rejects it. Gallery never gets to see the file on the server.


Limits the size of the image to 1024 (default) pixels on a side. This can be configured using the Advanced setting section.


  • All the exif info will be lost from the original photo.
  • When using the serveradd module the pictures are not being resized by the max_file module.


This module may be downloaded from the Codex here.

To install, extract the "max_size" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.