View Full Version : Lightbox image viewer 2.03a

11-02-2009, 05:49 PM
1) Script Title: Lightbox image viewer 2.03a help with removing "null"

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: Everything looks fantastic BUT when I view the images in the gallery its shows "null" in IE for the description and in Mozella it shows the images description like "Vehicles" or whatever. How can I remove "null"? I have tried to change some of the code, but I have been unsuccessful. Thank you for your time and help! :)

11-02-2009, 07:22 PM
Here is the webpage...if you open it in IE8 you will see where it says "null" in the bottom left corner but if you open it in Foxfire it actually shows the description "Vehicle Graphics" I dont care if there is a description or not, I just want to remove the "null" ....again thanks for any help.

11-02-2009, 08:41 PM
There are actually a number of problems with that version, depending upon what you are using it for. Upgrade to 2.04a:


All the files have changed, one has even been added. It can still do everything as advertised for 2.03a, and more. The syntax is the same, except of course for features added in 2.04a, which are optional and need not concern you unless you want to use them.

See also:


for more info on this upgrade.

11-02-2009, 08:57 PM
Hi John,
Thank you for telling me about the upgrade. It is working great now!!

11-02-2009, 09:06 PM
Where you have (on your page):

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

it now needs to be:

<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>

That's the one extra file I was talking about that you need. Be sure you have uploaded it (builder.js) as well to the proper location with the updated lightbox script files.

Incidentally there is another script (conveyor_oo.js) which you don't need unless you want something like is shown on the conveyor_oo.htm which comes in the new distribution archive.