***************************************************************************/
/**
- * display image
+ * show photo
*
* this function will be called by client and fetches
* the single-photo view via AJAX from the server.
* Furthermore it will scrollup the browser to the top
* position so the image become visibile immediatley.
*/
-function showImage(id, scrollup)
+function showPhoto(id, scrollup)
{
/* is phpfspot skeleton really displayed? */
if(!document.getElementById('content'))
delete(origWidth); origWidth = undefined;
delete(photo_details_pos); photo_details_pos = undefined;
-} // showImage()
+} // showPhoto()
/**
* scroll browser to the last shown photo
}
if(whattodo == 'show_photo') {
if(photo = getPhotoToShow()) {
- showImage(photo);
+ showPhoto(photo);
refreshSelectedTags();
}
}