TheDavidWhite
05-03-2006, 06:50 AM
the two tags <IMAGE_PREVIOUS_THUMBNAIL> and the equivalent NEXT one are created using the width and height of the current image. Suggested change line for PREVIOUS shown below. Similar needed for NEXT
// list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_name"); // ERROR, uses current image
list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_previous_name"); //DAVID MOD
$image_previous_thumbnail = "<a href='$showprefix$image_previous_id'><img src='thumbnails/thumb_$image_previous_name' width='$local_width' height='$local_height' alt='$image_previous_title' title='$image_previous_title' /></a>";
// list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_name"); // ERROR, uses current image
list($local_width,$local_height,$type,$attr) = getimagesize("thumbnails/thumb_$image_previous_name"); //DAVID MOD
$image_previous_thumbnail = "<a href='$showprefix$image_previous_id'><img src='thumbnails/thumb_$image_previous_name' width='$local_width' height='$local_height' alt='$image_previous_title' title='$image_previous_title' /></a>";