NextGEN Gallery
[resolved] nggSinglePicture template problem (2 posts)

  1. niksy
    Posted 6 years ago #


    I am trying to use template tage nggSinglePicture with custom template, but it doesn’t show picture with specified template. I’ve made template with name singlepic-{template var}.php but it doesn’t work, it still uses default singlepic.php template.

    <?php echo nggSinglePicture($id,$template_var); ?>

    If I try the same method with gallery (nggShowGallery), it works like it should.

    Is there some parameter I’m missing?

  2. niksy
    Posted 6 years ago #

    Well, here’s what happens if you don’t try every solution.

    You must specify every parameter:

    nggSinglePicture($imageID, $width = 250, $height = 250, $mode = '', $float = '' , $template = '', $caption = '', $link = '')

    Hope it helps someone…

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.