Hi
What can we do? I’m also looking for a function to show text below pictures.
Plaease help.
JENS – Denmark
I figured this out 😀
Add this…
?>
<div id="thumbdesc">
<?php
//SHOW IMAGE DESCRIPTION//
echo $image->description;?><br /></div>
<?php
after line 406, should now look like this…
echo $out . '</a>'."\n";?>
<div id="thumbdesc">
<?php
//SHOW IMAGE DESCRIPTION//
echo $image->description;?><br /></div>
<?php
}
}
echo '</div>'."\n";
echo $after_widget;
}
}// end widget class
}
// let's show it
$nggWidget = new nggWidget;
Hope that helps you. You can remove the br and div tags, I just added them for styling purposes. 🙂
In which file should you make this adjustment? I am not too knowledgable in PHP.
OK. Figured it out. Not based on the code above, though. There are instructions from the creator of the plugin on how to do this. Read and implement carefully…
First read http://nextgen.boelinger.com/templates/, and then http://nextgen.boelinger.com/templates/caption/.
Mind you: the code [ nggallery id=1 template=caption ] should be Mind you: the code [nggallery id=1 template=caption] – WITHOUT the spaces…
I emailed Ruben Boelinger about this, and hopefully he’ll fix the instructions.
But now it works!
Check out http://www.robinaggus.ca/landscaping/elora-gorge-cinema-courtyard/ for the end result.