nggShowRelatedGallery

Show related images for a post/page.

Description

nggShowRelatedGallery( $taglist, (int) $maxImages = 0 ); 

Ngglegacy function

Parameters (2)

0. $taglist
The taglist.
1. $maximages (int)
The maximages.

Usage

  1. if ( !function_exists( 'nggShowRelatedGallery' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php'; 
  3.  
  4. // The taglist. 
  5. $taglist = null; 
  6.  
  7. // The maximages. 
  8. $maximages = -1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = nggShowRelatedGallery($taglist, $maximages); 
  12.  

Defined (1)

The function is defined in the following location(s).

/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php  
  1. function nggShowRelatedGallery($taglist, $maxImages = 0) 
  2. return M_Gallery_Display::_render_related_string($taglist, $maxImages, $type=NULL);