Support » Plugins and Hacks » [Resolved] [Plugin: NextGEN Gallery Voting] How create a display image for top ten

[Resolved] [Plugin: NextGEN Gallery Voting] How create a display image for top ten

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author shauno


    Look at this thread: http://wordpress.org/support/topic/plugin-nextgen-gallery-voting-need-help-displaying-the-top-voted-images?replies=48

    It’s quite long, but you should be able to find what you are looking for.

    [ Signature moderated. ]

    i see your link but i don’t know where put this code.

    I tried into function.php but i have an error.

    could you help me please ?


    Hi Shauno,

    The code provided worked fine. I would however like to know whether it will be possible to apply the same format as when a normal gallery page is opened.

    In my gallery.php file I have the following:

    <!-- Thumbnails -->
    	<?php foreach ( $images as $image ) : ?> 
    		<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    			<div class="ngg-gallery-thumbnail" >
    				<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    					<?php if ( !$image->hidden ) { ?>
    					<img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> />
    					<?php } ?>
    		<?php echo nggv_imageVoteForm($image->pid); ?>

    Is it possible to get get this into the function for the top ten so that one have the same kind of layout and if possible also the voting. In that way users can look at the top say 10 and still vote for the best on that as well.


    Plugin Author shauno


    Hi Micheal

    Unfortunately you currently cannot show the top 10 images in the normal gallery template. You would need to emulate the arguments that get passed to that template from the NGG show gallery function, and that would take a bit of work.
    I do want to add shortcodes to display top voted images, but I just don’t have time to work on my free plugins right now. Hopefully one day in the future I can, but I wouldn’t hold my breath 🙂

    Thanks for the response. It’s however no longer required (the software, not your response) as I have uninstalled all the NextGen plugins as they are more a headache than a pleasure. An extremely good plugin or add on for WordPress but unfortunately just to full of bugs and or just to complicated.

    Guess it’s true, you get what you pay for so we have reverted to a commercial solution that was cost effective and worked right out of the box without any problems of any kind.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: NextGEN Gallery Voting] How create a display image for top ten’ is closed to new replies.