Personal tools

Gallery2:Modules:sizelimit

From Gallery Codex

Contents

Size Limit Module

Define image size limits

Description

Define image size limits (maximal dimensions, maximal filesize). When a user adds a new image, G3 checks immediately whether the dimensions and / or the filesize of the new image violate the restrictions. If one condition is violated, it generates smaller versions (lower quality and/or smaller dimensions) of the file until it matches the criteria. The originally uploaded file may be replaced in this case depending on the settings.

Note, that this module will not help you if you have a slow connection and are trying to save bandwidth. The full-sized image will be uploaded to the server before the settings from this module will be applied.

Features

Set maximal acceptable image dimensions and / or filesize

Each album can have different limits

Saves webspace, since the original uploaded file is replaced by a smaller file that meets the restrictions if necessary

Usage

Download the module from the download page if necessary. Site Admin -> plugins -> get more plugins... The minimal and typical package of G2 don't include this module.