Gallery:模块:尺寸限制(sizelimit)

来自站长百科
Sunzz1985讨论 | 贡献2008年6月12日 (四) 10:40的版本 (新页面: = Size Limit Module= Define image size limits ==Description== Define image size limits (maximal dimensions, maximal filesize). When a user adds a new image, G2 checks immediately whether...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

Size Limit Module

Define image size limits

Description

Define image size limits (maximal dimensions, maximal filesize). When a user adds a new image, G2 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. The minimal and typical package of G2 don't include this module.
  • Install and activate the module
  • In 'edit album', you can set the max dimensions / max filesize.

Requested Features

Currently there are no RFEs for this module.

Bugs

Currently there are no known issues for this module.