Hi. This is exactly what I need & works great.
Can I use it with a category instead of a tag?
I have tried substituting:
‘tag’ => ‘tag1’
with:
‘category’ => ‘category1’ — or — ‘cat’ => ‘category1’
Neither seems to work. Am I missing something?
Thanks in advance!
A slightly expanded version worked for me:
<a class="ngg-browser-next" id="ngg-next-<?php echo $image->next_pid ?>" href="<?php echo $image->next_image_link ?>"><img alt="<?php echo $image->alttext?>" src = "<?php echo $image->imageURL ?>"/></a>