nggShowRelatedImages

The NextGEN Gallery nggShowRelatedImages function.

Description

nggShowRelatedImages( (constant) $type = NULL, (int) $maxImages = 0 ); 

Parameters (2)

0. $type — Optional. (constant) => NULL
The type.
1. $maximages (int)
The maximages.

Usage

  1. if ( !function_exists( 'nggShowRelatedImages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php'; 
  3.  
  4. // The type. 
  5. $type = NULL; 
  6.  
  7. // The maximages. 
  8. $maximages = -1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = nggShowRelatedImages($type, $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 nggShowRelatedImages($type=NULL, $maxImages=0) 
  2. return M_Gallery_Display::_render_related_string(NULL, $maxImages, $type);