该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Li'l Gallery

描述

Big main picture of a gallery and thumbnails of others, and the main image changes when one clicks thumbnails. Replaces the standard wordpress [gallery] shortcode output. No flash. Available options: width, heigth, thumbnail height, size, link to image file or not.

屏幕截图

  • A sample how li’l gallery looks.

安装

  • Upload lil-gallery.zip from Plugins/Add New/Upload and activate the plugin.
  • Set desirable default options of the plugin at the Li’l Gallery options page.

常见问题

How can I change some gallery look?

Here is a gallery shortcode sample with the full set of parameters:
[gallery id=”10″ width=”500″ height=”400″ link=”file” size=”medium” thumbnail_height=”80″ order=”ASC” orderby=”ID” exclude=”11,12″ featured=”exclude”]

Parameters description:

  • id: integer, the ID of a post the images attached to. Default: current post ID.
  • width: width in pixels (px) of the DIV block that contains the gallery, overflow hidden. Empty by default, then the gallery takes 100% of available width.
  • height: height in pixels of the DIV block that contains first image of a gallery. Empty by default. If your gallery includes both portrait and landscape images or different width/height rate the page height may change when you click thumbnails, and you can avoid this inconvenience by setting this parameter for the specific gallery instance.
  • link: ‘file’ or ‘none’, default ‘file’ – is the main image clickable or not.
  • size: ‘medium’, ‘large’ or ‘file’ – the size of a main image, default ‘medium’.
  • thumbnail_height: to make thumbnails row looks pretty (it is not real size of your thumbnails), default 60 (pixels).
  • order, orderby, exclude – the same as in standard wordpress gallery.
  • featured: ‘include’ (default) or ‘exclude’ – is the featured image of a post displayed in a gallery or not.

评价

阅读所有1条评价

贡献者及开发者

「Li'l Gallery」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Li'l Gallery」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.6

  • New parameter/option: featured image exclusion.

0.5

  • Fixed bug in links from main image.

0.4

  • Correction of handling link and thumbnail_height parameters, small changes in css.

0.3

  • Now the plugin can use [gallery] or [lil_gallery] shortcode, of your choice.

0.2

  • First public version.