编辑“Gallery:模块:尺寸限制(sizelimit)

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
= 尺寸限制(Size Limit)模块=
= Size Limit Module=
定义对图片尺寸的限制。
Define image size limits


==描述==
==Description==
定义对图片尺寸的限制(最大的规格尺寸以及最大的文件尺寸)。当某用户添加一个新突破时,G2会立刻检查此新图片的规格尺寸及/或文件尺寸是否违反限制。如果二者违反其一,那么在该文件满足限制条件之前,它生成的文件就会稍小(较低品质及/或较小的规格尺寸)。根据设定,在这种情况下,原来上传的文件就有可能会被替换掉。
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
* 节省web空间,因为原来上传的文件被符合限制调节的较小文件替换。
* Saves webspace, since the original uploaded file is replaced by a smaller file that meets the restrictions if necessary


==用法==
==Usage==
* 要的话可以在下载页面中下载该模块。G2的最小化及典型安装包不包括此模块。
* 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
* 你可以在'编辑相册(edit album)'中设定最大的规格尺寸/最大的文件尺寸。
* In 'edit album', you can set the max dimensions / max filesize.


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


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


[[category:Gallery 2:Modules]]
[[category:Gallery 2:Modules]]
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)