Gallery: 模块:flashniftiessource:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: <div style="width:250px; background:#fff; float:right; margin:0px 0px 10px 10px; padding:6px; border:1px solid #ccc;"> <ul style="list-style:none; margin:0px; padding:0px;"> <li>Author:...)
 
无编辑摘要
 
(未显示同一用户的1个中间版本)
第8行: 第8行:
</ul>
</ul>
</div>
</div>
=FlashNiftiesSource Module=
=FlashNiftiesSource模块=




==Description==
==描述==
a basic interface to allow http://www.flashnifties.com/ flash slideshow to load its pictures from a Gallery2 installation. FlashNiftiesSource is a small module that produces the xml output that http://www.flashnifties.com/ uses, and provides an interface to download an item according to permissions.
允许http://www.flashnifties.com/ flash幻灯片由Gallery2读取其相片的基本界面。FlashNiftiesSource模块产生http://www.flashnifties.com/所使用的xml输出,并提供根据权限进行项目下载的界面。


==Features==
==特点==


==Installation==
==安装==
* download from: http://www.cerocphotos.com/downloads/flashniftiessource_0.1.1.zip, unpack and copy to /modules
* 从http://www.cerocphotos.com/downloads/flashniftiessource_0.1.1.zip 进行下载,解压并复制到/modules。
* Configure, then Activate it. There are no configuration options - configuration adds a minimal set of parameters to the root album, from whose Edit Item page they can be changed.
* 对其进行配置并激活。无配置选项-配置想根相册添加最小的参量集,并可在根相册的编辑项目页面中进行更改。
* enter the FlashNifties parameters for each album (and its children) in the tab under Edit Album.
* 在编辑相册下的标签中为各相册(及其子相册)输入FlashNifties参量。


==Usage==
==用法==
The module allows Gallery to source the XML data for FlashNifties such that the images are served back from the Gallery installation.
所有的参量都是在编辑相册页面的FlashNifties标签中进行设定的。它们包括所显示的基本选项,以及各相册可下载文件数量的限制以及启用/禁用开关。所有选项都沿袭到子相册并覆盖较高级的设定。自定义选项也可设定;在页面底部的框中输入名称及数值。如果在任何其他相册中进行自定义选项的设定的话,就会看到这些名称为你提供了便利。


All parameters are set in the FlashNifties Tab of the Edit Album page. They include the basic options as shown, as well as a per-album limit on the number of files to download, and an enable/disable switch. All options carry through to sub albums, and override settings higher up. Custom options can also be set; enter the name as well as the value in the boxes at the bottom of the page. If custom options are set in any other albums, you will see the names offered to you as a convenience.
要将FlashNifties定向给Gallery,请按照该页上的知道进行XML数据源的自定义操作:
 
To direct FlashNifties towards the Gallery installation follow the instructions on this page for customizing the XML data source:
XXXXXXX
XXXXXXX


Use syntax as in the following example:
使用下面例子中的语法:








The correct path to use for each album is displayed in the FlashNifties tab of the edit album page, where the parameters are set.
各相册的正确路径都被显示在编辑相册页面的FlashNifties标签中,参量也是在此进行设定的。


Thumbnails are drawn from Gallery's thumbnails; "main" images are sourced as the smallest resize (or original or thumbnail) that is as large as or larger than the maxImageHeight/maxImageWidth parameters active for that album, and for which view permission is available at the time the image is downloaded by Simpleviewer. If no maxImageHeight/maxImageWidth is set for the album or its parents, then the largest available image is used. If your browser's permissions change during the downloading (you log in to the Gallery as Administrator, for instance) the size of image downloaded can change from one image to the next across the gallery. The images are also cached by the browser, so you may need to empty the cache before you see the 'correct' image for your permissions.
缩略图时由Gallery的缩略图拉取的;"主要(main)"图片被归为最小的重设尺寸图片(或原始图片或缩略图),该图片大于或等于对应相册所激活的maxImageHeight/maxImageWidth参量以及查看权限,该权限在使用Simpleviewer下载图片之时可用。如果没有设定某相册或其父族相册的maxImageHeight/maxImageWidth,那么就会使用最大尺寸的可以图片。如果在下载过程中,浏览器权限改变的话(比如你以管理员身份登入),那么下载下来的图片尺寸可以随意更改。图片也会被浏览器缓存,因此在查看适当权限的图片之前你需要清除缓存。


'''Bug reports, questions, comments, suggestions etc in this thread please:
'''在此的Bug报告,问题,评论及建议等请:
XXXXXXX
XXXXXXX
'''
'''


==Requested Features==
==被请求的特点==
* Build a theme around FlashNifties, using this module as the core to display the images
* 在FlashNifties周围建立一个外观主题,使用该模块作为核心来显示图片
* Configure a background image, also served from Gallery
* 配置一个背景图
* Translations
* 翻译


==To do list==
==TODO ==


==Bugs==
==Bug==


* bug go here
* bug在此
* and here
* 及此


[[Category:Gallery 2:Modules]]
[[Category:Gallery 2:Modules]]

2008年9月20日 (六) 14:43的最新版本

FlashNiftiesSource模块[ ]

描述[ ]

允许http://www.flashnifties.com/ flash幻灯片由Gallery2读取其相片的基本界面。FlashNiftiesSource模块产生http://www.flashnifties.com/所使用的xml输出,并提供根据权限进行项目下载的界面。

特点[ ]

安装[ ]

  • 从http://www.cerocphotos.com/downloads/flashniftiessource_0.1.1.zip 进行下载,解压并复制到/modules。
  • 对其进行配置并激活。无配置选项-配置想根相册添加最小的参量集,并可在根相册的编辑项目页面中进行更改。
  • 在编辑相册下的标签中为各相册(及其子相册)输入FlashNifties参量。

用法[ ]

所有的参量都是在编辑相册页面的FlashNifties标签中进行设定的。它们包括所显示的基本选项,以及各相册可下载文件数量的限制以及启用/禁用开关。所有选项都沿袭到子相册并覆盖较高级的设定。自定义选项也可设定;在页面底部的框中输入名称及数值。如果在任何其他相册中进行自定义选项的设定的话,就会看到这些名称为你提供了便利。

要将FlashNifties定向给Gallery,请按照该页上的知道进行XML数据源的自定义操作: XXXXXXX

使用下面例子中的语法:



各相册的正确路径都被显示在编辑相册页面的FlashNifties标签中,参量也是在此进行设定的。

缩略图时由Gallery的缩略图拉取的;"主要(main)"图片被归为最小的重设尺寸图片(或原始图片或缩略图),该图片大于或等于对应相册所激活的maxImageHeight/maxImageWidth参量以及查看权限,该权限在使用Simpleviewer下载图片之时可用。如果没有设定某相册或其父族相册的maxImageHeight/maxImageWidth,那么就会使用最大尺寸的可以图片。如果在下载过程中,浏览器权限改变的话(比如你以管理员身份登入),那么下载下来的图片尺寸可以随意更改。图片也会被浏览器缓存,因此在查看适当权限的图片之前你需要清除缓存。

在此的Bug报告,问题,评论及建议等请: XXXXXXX

被请求的特点[ ]

  • 在FlashNifties周围建立一个外观主题,使用该模块作为核心来显示图片
  • 配置一个背景图
  • 翻译

TODO[ ]

Bug[ ]

  • bug在此
  • 及此