Simple widget to show the latest/random images of the WordPress media library as a Widget, using a shortcode or directly with a php-function.
Gallery Widget is a simple plugin that let you show the latest/random images of
the wordpress media gallery inside a widget, directly in your templates (it is
possible to choose some categories to be included/excluded) or in posts/pages
using a shortcode (see faq on how to use them).
For more information on how to use this plugin see splash 😉
Please report bugs and/or feature-request to the ticket-system: TicketSystem/Wiki.
For Support, please use the forum.
Latest development news: Twitter.
FAQ
How can i adjust the look of the Widget?
Just use the CSS-Class “wGallery” to alter the ul- or li-tags.
How can i get only the images of one/some categories?
Use the category-option include or exclude and enter the id’s separated by comma
in the options of the widget.
Why doesn’t the images link to the parent article?
This option actually only works with “category-option” set to include or exclude.
How do i use the shortcodes?
This is explained here.
Is it possible to show the images at any position in the theme (not only as widget)?
Yes, is explained here
Shortcode-Example using CSS
This is explained here.
For more examples and other questions, take a look at the support forum.
ChangeLog
1.2.1
- [FIX] code cleanup
- -> please don’t use the functions calls anymore (use the galleryWidget-Object instead), support will be dropped with the next version
1.2.0
- [NEW] choose imagesize
- -> How to use another image/thumbnailsize is described here (http://blog.splash.de/2010/12/13/gallery-widget-1-2-0-imagesize/)
1.1.9
- [FIX] bugfix release for wp3.0 (instead of null, $wpdb->get_results now returns an empty array – damn!)
- [FIX] readme: code examples moved the forum (buggy readme-parser?)
- -> FAQ @ forum
1.1.8
- [NEW] dutch translation bei Rene
1.1.7
- [NEW] show post-title instead of image title
- [NEW] title added to img-tags
- [WARNING] do not update, if you use a wordpress version less than 2.8!
1.1.6
- [FIX] security (don’t allow script execution outside wordpress)
1.1.5
1.1.4
1.1.3
- [FIX] leading zero in categorylist (#16)
- [NEW] italian translation by Gianni Diurno
1.1.2
- [NEW] russian translation by Fat Cow
- everyone is invited to send me a translated language pack, thx
1.1.1
- [FIX] description of widget
- [FIX] gettext domain
- [NEW] german translation
- more information
1.1.0
1.0.0
0.7.2
- [FIX] don’t show images of scheduled posts using the exclude option (#15)
- more information
0.7.1
- [NEW] shortcode example, using css (see FAQ)
- [NEW] updateinfobox/notice system
- more information
0.7.0
0.6.1
- [FIX] don’t print debug message as html comment
0.6.0
- [NEW] OOP rewrite (with wrapper functions for the old function calls)
- more information
0.5.17
0.5.16
0.5.15
- [FIX] supress the error message, if no posts found for include/exclude…
- more information
0.5.14
0.5.13
0.5.12
- [FIX] Can add CSS-class @widget control menu
- [FIX] Include/exclude categories
- [NEW] Option: add a link relation
- more information
0.5.11
- [FIX] Missing mime_type added (for the custom sql query used by “category-option” include/exclude)
- more information
0.5.10
- [NEW] Option to link to the (parent) articles instead of the images (actually only works with “category-option” set to include or exclude)
- more information
0.5.9
- [NEW] Option: Link to images directly or to the summary page (with the ability to comment on images)
- [NEW] Option: Add a CSS-Class to the link
- more information
0.5.8
0.5.7
0.5.6
- [NEW] New Option, now you can decide if the Widget is shown on all pages or the frontpage only
- more information
0.5.5
- [NEW] Option to include or exclude categories of posts (see FAQ)
- more information
0.5.4
- [NEW] “selecting” post-categories to be used to get attachments
0.5.3