Title: [Plugin: NextGEN Gallery] widget options
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] widget options

 *  [xintron](https://wordpress.org/support/users/xintron/)
 * (@xintron)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-widget-options/)
 * I just upgraded to the latest version of nextgen gallery and had to do some tweakings
   again to get the nextgen gallery widget to work as I want it to. And while doing
   this I found a bug (at least in my opinion).
 * File: nggwidget.php
 *     ```
       function nggDisplayRecentImages($number, $width = "75", $height = "50", $exclude = "all", $list = "") {
   
           $options[1] = array('title'=>'',
                               'items'=>$number,
                               'show'=>'thumbnails' ,
                               'type'=>'recent',
                               'width'=>$width,
                               'height'=>$height,
                               'exclude'=>'all',
                               'list'=>$list   );  
   
           nggWidget::ngg_widget_output($args = array(), 1, $options);
       }
       ```
   
 * Should be changed to:
 *     ```
       function nggDisplayRecentImages($number, $width = "75", $height = "50", $exclude = "all", $list = "") {
   
           $options[1] = array('title'=>'',
                               'items'=>$number,
                               'show'=>'orginal' ,
                               'type'=>'recent',
                               'width'=>$width,
                               'height'=>$height,
                               <strong>'exclude'=>$exclude,</strong>
                               'list'=>$list   );  
   
           nggWidget::ngg_widget_output($args = array(), 1, $options);
       }
       ```
   
 * I couldn’t see why $exclude was an option when it’s not used when showing the
   widget. Also, an $show option would be nice as well since I don’t want my thumbs
   showing always and then it would be easier to just add “$show = ‘thumbnail'” 
   in the function statement.
 * Otherwise, great plugin!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-widget-options/#post-875345)
 * This is indeed a bug, thanks for pointing it out !
 *  Thread Starter [xintron](https://wordpress.org/support/users/xintron/)
 * (@xintron)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-widget-options/#post-875578)
 * glad to help 🙂 Btw, will my suggestions (the $show idea) be implanted as well
   or?
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-widget-options/#post-875611)
 * Yes, the show parameter is also added for v1.00

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: NextGEN Gallery] widget options’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-widget-options/#post-875611)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
