Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями 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.