Netxgen Quick Doc

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

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 ]

This entry was posted in Documentation. Bookmark the permalink.

Leave a Reply