Support » Themes and Templates » [Plugin: NextGEN Gallery] nggSinglePicture template problem

  • Resolved niksy



    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?

Viewing 1 replies (of 1 total)
  • 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…

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] nggSinglePicture template problem’ is closed to new replies.