
you're right it's broken .
here it comes again ( WIP )
`
<?php if(getOption("Use_thickbox")) {
$boxclass = " class=\"thickbox\"";
$tburl = getUnprotectedImageURL();
} else {
$thickboxclass = "";
$tburl = getFullImageURL();
$First = getFirstImageURL();
$Last = getlastImageURL();
$next = getNextImageURL();
$Index = getGalleryIndexURL(false);
}
if (!empty($tburl) && hasNextImage()) {
?>
<?php
}else{?>
<a href="<?php echo $First ?>">
<?php }
printCustomSizedImageMaxSpace(getBareImageTitle(),950,2000); ?>
<?php
if (!empty($tburl) && hasNextImage()) {
?>
<?php
}//end if
?>
`
and tadaa!
hasNextImage() works!
You rock Acrylian!
Many thanks!