All About NextGEN Gallery,Short Code List,Useful hints
NextGEN Gallery is the most popular image gallery management plugin for wordpress. Thanks to the author Alex Rabe for creating this wonderful plugin, I pretty much use it on all wordpress websites I create.
Only complain about this plug-in is lack for good documentation but from a free plug-in I can’t expect more. I have created this page to share my knowledge about the usage of this plugin and share with the community.
List of Short Codes for NextGEN Gallery
Short codes are the piece of text which you add along with you text on your blog post or sidebars. Short codes can also be added inside the theme templates.
For a slideshow :[ slideshow id=x w=width h=height ]
For a album : [ album id=x template=extend] or [ album id=x template=compact ]
For a gallery : [ nggallery id=x ]
For a single picture : [ singlepic id=x w=width h=height mode=web20|watermark float=left|right ]
For a image browser : [ imagebrowse r id=x ]
To show image sorted by tags :[ nggtags gallery=mytag,wordpress,... ]
To show tag albums : [ nggtags album=mytag,wordpress,... ]
Create Special Effects using Short Codes in the template files
Short codes can be called from any theme template files, using do_shortcode template tag from the template files. Here are some examples
<?php echo do_shortcode(’[ slideshow id=2 ]); ?>
You can use this technique to create special flash headers with rotating images or create a showcase effect like here www.StyleHaute.com
Display Gallery view
http://nextgen-gallery.com/templates/galleryview/
[ nggallery id=1 template=galleryview images=0 ]
Useful Links for NextGEN Gallery
http://nextgen-gallery.com/custom-fields/
http://wordpress.org/support/topic/294912
http://dpotter.net/Technical/2008/05/nextgen-gallery-review-displaying-images/
http://www.visser.com.au/blog/list-of-wordpress-plugins-addons-for-nextgen-gallery/
http://speckyboy.com/2008/10/23/10-powerful-shoppingecommerce-plugin-solutions-for-wordpress/
http://www.webdesignerwall.com/tutorials/css-decorative-gallery/











Much thanks. I was looking for a nextgen gallery template tag for while now, and bam, your site comes through. Appreciated. It didn’t work at first, but then I changed the ticker placement as follows:
Have a good one.
[...] Today, i found a blog that lists many of the Shortcodes – so i thought i’d repeat them so they are easier for people to find! – Thanks InfoPint! [...]
Hi!
This shortcodes is great, but are pretty sure this code is right?
I used multiple flash shortcodes to help me get a nice intro page to an artist’s gallery. http://www.cherylwalkerart.com
My two thoughts:
NextGen plug-in makes it easy to add shortcode attributes, though some php knowledge is neccessary, so you can choose the effect to use in the JS slideshow version.
Multiple slideshows work on the same page (as long as the ID of the gallery are different)
Alex – The shortcode is slightly incorrect, there’s a ‘ missing:
I’d love to find a way to insert a shortcode into a page that will query the tags across all galleries, list them alphabetically with the number of photos that use each tag (like in the NextGen Gallery Tags setup page), and link to a gallery display of the photos with that tag. Is there already a way to do this, or is it time for me to figure out how to write a plugin?
Thanks!
Leave your response!