NextGEN Gallery – Shortcodes

Here’s a list of all the NextGEN Gallery shortcodes I am aware of.

Remember they can be usied in templates with the do_shortcode function as follows:

<?php echo do_shortcode('[slideshow id=3]'); ?>

When writing a page/post, you can use the follow shortcodes:

For a slideshow :

[slideshow id=x w=width h=height]

Example : http://nextgen-gallery.com/slideshow/

For a album :

[album id=x template=extend] or [album id=x template=compact]

Example : http://nextgen-gallery.com/album/

For a gallery :

[nggallery id=x max=x]

Example : http://nextgen-gallery.com/gallery-page/

For a single picture :

[singlepic id=x w=width h=height mode=web20|watermark float=left|right]

Example : http://nextgen-gallery.com/singlepic/

For a image browser :

[imagebrowser id=x]

Example : http://nextgen-gallery.com/image-browser/

To show image sorted by tags :

[nggtags gallery=mytag,wordpress,… ]

Example : http://nextgen-gallery.com/gallery-tags/

To show tag albums :

[nggtags album=mytag,wordpress,… ]

Example : http://nextgen-gallery.com/albumtags/

To show random mages :

[random max=x ]

To show the most recent added mages :

[recent max=x ]

Revisions

There are no revisions for this post.

Tags: , ,

No comments yet.

Leave a Reply