Gallery: 模块:尺寸限制(sizelimit):修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: = 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...)
 
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
= Size Limit Module=
= 尺寸限制(Size Limit)模块=
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.
定义对图片尺寸的限制(最大的规格尺寸以及最大的文件尺寸)。当某用户添加一个新突破时,G2会立刻检查此新图片的规格尺寸及/或文件尺寸是否违反限制。如果二者违反其一,那么在该文件满足限制条件之前,它生成的文件就会稍小(较低品质及/或较小的规格尺寸)。根据设定,在这种情况下,原来上传的文件就有可能会被替换掉。


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
* 节省web空间,因为原来上传的文件被符合限制调节的较小文件替换。


==Usage==
==用法==
* Download the module from the download page if necessary. The minimal and typical package of G2 don't include this module.
* 要的话可以在下载页面中下载该模块。G2的最小化及典型安装包不包括此模块。
* Install and activate the module
* 安装并激活该模块。
* In 'edit album', you can set the max dimensions / max filesize.
* 你可以在'编辑相册(edit album)'中设定最大的规格尺寸/最大的文件尺寸。


==Requested Features==
==被请求的特点==
Currently there are no RFEs for this module.
目前尚无有关此模块的RFE。


==Bugs==
==Bug==
Currently there are no known issues for this module.
目前尚无有关此模块的问题。


[[category:Gallery 2:Modules]]
[[category:Gallery 2:Modules]]

2008年8月23日 (六) 10:45的最新版本

尺寸限制(Size Limit)模块[ ]

定义对图片尺寸的限制。

描述[ ]

定义对图片尺寸的限制(最大的规格尺寸以及最大的文件尺寸)。当某用户添加一个新突破时,G2会立刻检查此新图片的规格尺寸及/或文件尺寸是否违反限制。如果二者违反其一,那么在该文件满足限制条件之前,它生成的文件就会稍小(较低品质及/或较小的规格尺寸)。根据设定,在这种情况下,原来上传的文件就有可能会被替换掉。

注意,如果你的网络连接速度过慢或你需要节省带宽的话,那么此模块就没什么用处了。在此模块设定生效之前,全尺寸的图片就被上传了。

特点[ ]

  • 设定可接受的最大的规格尺寸及/或最大的文件尺寸。
  • 每个相册的限制条件都可以不同。
  • 节省web空间,因为原来上传的文件被符合限制调节的较小文件替换。

用法[ ]

  • 要的话可以在下载页面中下载该模块。G2的最小化及典型安装包不包括此模块。
  • 安装并激活该模块。
  • 你可以在'编辑相册(edit album)'中设定最大的规格尺寸/最大的文件尺寸。

被请求的特点[ ]

目前尚无有关此模块的RFE。

Bug[ ]

目前尚无有关此模块的问题。