the_related_images

The NextGEN Gallery the related images function.

Description

the_related_images( (string) $type = 'tags', (int) $maxNumbers = 7 ); 

Parameters (2)

0. $type — Optional. (string) => 'tags'
The type.
1. $maxnumbers (int)
The maxnumbers.

Usage

  1. if ( !function_exists( 'the_related_images' ) ) { 
  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 = 'tags'; 
  6.  
  7. // The maxnumbers. 
  8. $maxnumbers = -1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = the_related_images($type, $maxnumbers); 
  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 the_related_images($type = 'tags', $maxNumbers = 7) 
  2. echo nggShowRelatedImages($type, $maxNumbers);