jmg666
02-15-2010, 05:12 PM
1) Script Title: Image Thumbnail Viewer II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm
3) Describe problem: I've got a listings page where thumbnail images for each item are being pulled from a database table - there's scope within the page for a maximum of 10 images to be used, with the first photo in each listing being located in the "loadarea" div.
Ideally what I want is for the user to be able to click on image2 through image10 (or however many there are) and have the larger version of each one come up in "loadarea".
Initially I had problems with getting "missing image" icons appearing, but thanks to an IF ELSE statement, nothing shows if there's nothing in the database for that particular image.
Is it going to be possible to amend the code for ITVII to get this to work with dynamically generated images? I can see how easy it would be with static images pulled from an images folder but can't quite get my head round how to tie this into the existing code for this page.
Any assistance appreciated.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm
3) Describe problem: I've got a listings page where thumbnail images for each item are being pulled from a database table - there's scope within the page for a maximum of 10 images to be used, with the first photo in each listing being located in the "loadarea" div.
Ideally what I want is for the user to be able to click on image2 through image10 (or however many there are) and have the larger version of each one come up in "loadarea".
Initially I had problems with getting "missing image" icons appearing, but thanks to an IF ELSE statement, nothing shows if there's nothing in the database for that particular image.
Is it going to be possible to amend the code for ITVII to get this to work with dynamically generated images? I can see how easy it would be with static images pulled from an images folder but can't quite get my head round how to tie this into the existing code for this page.
Any assistance appreciated.