nggShowImageBrowser

Show an image browser.

Description

nggShowImageBrowser( $galleryID, (string) $template = '' ); 

Ngglegacy function

Parameters (2)

0. $galleryid
The galleryid.
1. $template — Optional. (string) => ''
The template.

Usage

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

Defined (1)

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

/products/photocrati_nextgen/modules/nextgen_basic_imagebrowser/module.nextgen_basic_imagebrowser.php  
  1. function nggShowImageBrowser($galleryID, $template = '') 
  2. $renderer = C_Displayed_Gallery_Renderer::get_instance(); 
  3. $retval = $renderer->display_images(array( 
  4. 'gallery_ids' => array($galleryID),  
  5. 'display_type' => 'photocrati-nextgen_basic_imagebrowser',  
  6. 'template' => $template 
  7. )); 
  8.  
  9. return apply_filters('ngg_show_imagebrowser_content', $retval, $galleryID);