[Plugin: NextGEN Gallery] Show original image in Widget
-
I’m writing custom widgets to use on page templates. I need to display the original image, not the thumbnail, and I can’t seem to find the code for that. I know I need to change $show = ‘thumbnail’ to something else for the original image, but nothing appears to work.
Here’s what I got. All it does is display a distorted version of the image thumbnail:
function nggFilm( $id ) { $number = 3; $width = 200; $height = 150; $exclude = 'allow'; $show = 'thumbnail'; $options = array( 'title' => false, 'items' => $number, 'show' => $show , 'type' => 'random', 'width' => $width, 'height' => $height, 'exclude' => $exclude, 'list' => $id, 'webslice' => false ); $ngg_widget = new nggWidget(); $ngg_widget->widget($args = array( 'widget_id'=> 'sidebar_1' ), $options);}
Thanks in advance!
https://www.ads-software.com/extend/plugins/nextgen-gallery/
- The topic ‘[Plugin: NextGEN Gallery] Show original image in Widget’ is closed to new replies.