Title: NextGEN Gallery Sidebar Widget
Author: maff
Published: <strong>18.04.2009</strong>
Last modified: 06.02.2012

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-sidebar-widget.svg)

# NextGEN Gallery Sidebar Widget

 Автор: [maff](https://profiles.wordpress.org/maff/)

[Скачать](https://downloads.wordpress.org/plugin/nextgen-gallery-sidebar-widget.0.4.3.zip)

 * [Детали](https://ru.wordpress.org/plugins/nextgen-gallery-sidebar-widget/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/nextgen-gallery-sidebar-widget/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/nextgen-gallery-sidebar-widget/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/nextgen-gallery-sidebar-widget/#developers)

 [Поддержка](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/)

## Описание

The NextGEN widgets only allow showing of single images, I needed a solution to 
show links to galleries, so I wrote this widget. You can specify the following parameters:

 * Maximum Galleries: the number of galleries you want to show
 * Gallery Order: you can select random, date added ascending or date added descending
 * Gallery Thumbnail: which image should be taken as thumbail in the sidebar (preview
   set in NGG, first or random image)
 * AutoThumb parameters: if you got [AutoThumb](https://wordpress.org/extend/plugins/autothumb/)
   installed, the widget will use its functions to resize the image to your needs.
   Use a string like `w=80&h=80&zc=1` here to show 80×80 square thumbnails.
 * Output width/height: if you don’t use AutoThumb, the plugin will set the HTML
   attributes width & height.
 * Default Link Id: the widget assumes that you set up pages for each gallery and
   link the gallery to that page (you can use the NGG Gallery Editor to do this).
   If a gallery has no link set, it will use the default link (id of a page or post).
 * Exclude galleries: exclude galleries by specifying their ID as comma separated
   list

All development is done on [GitHub](https://github.com/maff/wp-nextgen-gallery-sidebar-widget).
If you have ideas, enhancements, etc. feel free to fork the project and send a pull
request.

For any issues please use the [Issue Tracker](https://github.com/maff/wp-nextgen-gallery-sidebar-widget/issues).

Templating:

Beginning with version 0.3, you have full control over the widget’s output as it
is controlled with templates. As the built-in templates would get overwritten on
every plugin update, create a new directory called «ngg-sidebar-widget» in your 
theme’s directory and copy the two template files «tpl.outer.html» and «tpl.inner.
html» over there to edit them. The outer template is just a wrapper template (useful
when you need some additional markup, e.g. when creating a list), the inner template
has access to all the values from the gallery and image object (written in a simple
templating syntax: {=object.member}). For the most use cases you should only need«
gallery.title», «gallery.link» and «image.url».

You will have access to the following variables:

 * gallery
    - gid
    - name
    - path
    - title
    - galdesc
    - pageid
    - previewpic
    - author
    - link
 * image
    - errmsg
    - error
    - imageURL
    - thumbURL
    - imagePath
    - thumbPath
    - href
    - thumbPrefix
    - thumbFolder
    - galleryid
    - pid
    - filename
    - description
    - alttext
    - imagedate
    - исключить
    - thumbcode
    - name
    - path
    - title
    - pageid
    - previewpic
    - permalink
    - post_id
    - sortorder
    - meta_data
    - gid
    - galdesc
    - author
    - imageHTML
    - thumbHTML
    - url
    - output_width
    - output_height
    - output_width_tag
    - output_height_tag

## Установка

 1. Upload `ngg-sidebar-widget.php` to the `/wp-content/plugins/` directory
 2. Активируйте плагин используя меню ‘Плагины’ в WordPress
 3. Use the widget in the widget editor.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«NextGEN Gallery Sidebar Widget» — проект с открытым исходным кодом. В развитие 
плагина внесли свой вклад следующие участники:

Участники

 *   [ maff ](https://profiles.wordpress.org/maff/)

[Перевести «NextGEN Gallery Sidebar Widget» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/nextgen-gallery-sidebar-widget)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/nextgen-gallery-sidebar-widget/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/nextgen-gallery-sidebar-widget/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/nextgen-gallery-sidebar-widget/)
по [RSS](https://plugins.trac.wordpress.org/log/nextgen-gallery-sidebar-widget/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

 * 0.4: Add include_galleries option
 * 0.3.3.1: Fix bug on widget no displaying galleries when no exclusions are set(
   bug #59, #60)
 * 0.3.3: Fix wrong maximum galleries (bug #58)
 * 0.3.2: Image output width fix in template, Cleanup
 * 0.3.1: Gallery limit bugfix
 * 0.3: WordPress 2.8+ widget API, gallery exclusion option, templating feature
 * 0.2.2: Add gallery_thumbnail option to select thumbnail image (preview, first,
   random)

## Мета

 *  Версия **0.4.3**
 *  Обновление: **15 лет назад**
 *  Активных установок: **500+**
 *  Версия WordPress ** 2.8 или выше **
 *  Совместим вплоть до: **3.3.2**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/nextgen-gallery-sidebar-widget/)
 * Метки:
 * [gallery](https://ru.wordpress.org/plugins/tags/gallery/)[image](https://ru.wordpress.org/plugins/tags/image/)
   [photo](https://ru.wordpress.org/plugins/tags/photo/)[picture](https://ru.wordpress.org/plugins/tags/picture/)
   [widgets](https://ru.wordpress.org/plugins/tags/widgets/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/nextgen-gallery-sidebar-widget/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/reviews/)

## Участники

 *   [ maff ](https://profiles.wordpress.org/maff/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/nextgen-gallery-sidebar-widget/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](http://ailoo.net/about)