Hello there,
I'm having problems with a custom gallery I try to build with the NextGen gallery. Here's the issue:
I display thumbs like this in gallery.php:
<li><a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
Works fine. But that's not what I need.
I want my thumbs to link the PAGE where the image is "stored" and not only the image itself. Like the $image->previous_image_link and $image->next_image_link do, but for every image in my thumbs collection.
Instead of:
<a href="http://localhost/wp-content/gallery/gallery-name/myImage.jpg">
I would like my thumbs to have that kind of link:
<a href="http://localhost/?p=52&pid=7">
Does anyone know how to do this?
Thanks a lot!