PDA

View Full Version : Dynamic Photo Listing Script?



Cball
05-03-2007, 06:28 PM
I've searched an I'm unable to find a script that will dynamically create an array of all of the images that I have in a folder so that I can just add the images with out manually putting each one in to a line of code.. Is there such a beast or is this just a pipe dream? I would like to incorporate this with the Image Thumbnail Viewer (http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm)

Thanks in advance..

jscheuer1
05-03-2007, 06:43 PM
You either need a server-side language available on your host or, for a purely javascript solution* would need to name all the images sequentially according to some naming convention that could be utilized by the script. There is no Dynamic Drive script for this exactly but the getpics.php script used with:

http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htm

Can do that for PHP enabled servers. There is also a getpics.asp that I posted in the submit section for asp/VBasic enabled servers. The latest version of that is featured here:

http://www.dynamicdrive.com/forums/showpost.php?p=40710&postcount=11



*Something with Ajax might be able to be worked out as well.