I did noticed that the modification I gave you wasn't working. That is due to the way the paths are listed in the array. To fix that, change this:
Code:
if (theImg.indexOf(dynimages[i_tem][0])>-1)
in the function findLoaded() to:
Code:
if (theImg.indexOf(dynimages[i_tem][0].replace(/^.*\//, ''))>-1)
I'm not sure about those little squares, you want the displayed image's little square to stay black. It might be best to use a different method of changing them, one integrated into the viewer script. Also, if empty divisions with 1px solid black borders and the desired dimensions were used, the background color of the division could be changed, no images required.
Bookmarks