I am creating a gallery where you can click the image and it will go to the next image, like facebook. I wrapped the prev_entry code around the image and that works great with one problem. The last image is hidden due to the behavior of the prev_entry code that hides the link if there is no more entries. Any way around this?
{exp:weblog:entries weblog="photo_gallery" orderby="date" sort="asc" category="22"}
{exp:weblog:prev_entry category="{categories}{category_id}{/categories}"}
<a href="http://{path=gallery/details}">/phpThumb/phpThumb.php?src={photo_image}&w=980&aoe=1&hp=650</a>
</div>
<div id="element_info">
<li><h1>{title}</h1></li>
<li>{photo_description}</li>
</div>
{/exp:weblog:prev_entry}
{/exp:weblog:entries}