View Full Version : add image name to lightbox on ddphp album?

08-03-2010, 02:47 AM
1) Script Title:
PHP Photo Album Script v. 2.11

2) Script URL (on DD):

3) Describe problem:

I am wondering if anyone knows how to display the image name in the footer (where the Close text shows) in this script? I know about the "custom title" option, but that is not what I want. I want the tn images to show image #1 etc... and then to show the title of the image in the lightbox display of the full size image.

the following section of ddphpalbum.js seems to be where I need to add some code, but adding anything other than plain HTML does not seem to work. I am pretty proficient at PHP, but javaScript is not my strong point.

/////////Following is thumbnailviewer(), a plugin to PHP Photo Album for enlarging thumbnail images/////////////////

var thumbnailviewer={

enableAnimation: true, //Enable fading animation?

fadeDuration: 500, //duration of fade animation in milliseconds

definefooter: '<div class="footerbar">Close [X]</div>', //Define HTML for footer interface

defineLoading: '<img src="loading.gif" /> Loading Image...', //Define HTML for "loading" div