WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. niksy
    Member
    Posted 4 years ago #

    Hello,

    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
    Member
    Posted 4 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

About this Topic

Tags

No tags yet.