We'll create fresh WordPress site with NextGEN Gallery Sidebar Widget installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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:
w=80&h=80&zc=1
here to show 80×80 square thumbnails.All development is done on GitHub. 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.
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: