budapestnori
Technical User
So I am setting up a web site for a photographer. In his gallery, he will have five categories of images, ie., wedding, event, sports, etc. Normally, I would set up a template ASP page and pass it a variable such as cat=web in the url. Then, on the receiving page, I have a script that preloads images and populates an array for a slideshow presentation. Here is the problem I am up against. I want to allow him to enter as many images into the databaase as he wants to be in his gallery. So, for the array, I would need somehow to open the asp page, run a query to get a count of the records, build the array. Also, what about file names, I would name the images such as w_img_1,...w_img_21; e_img_1...e_img_17, etc. I think you see where I am going with this. I can get the data I want easily enough from the ASP knowledge that I know, it is just passing it to javascrip that is a challenge for me. Here is the link to the page I am working on, this would be the "receiving" page. Thanks in advance, you guys are so helpful.