Click to See Complete Forum and Search --> : 1 page for all pics
When having a picture archive, can you set 1 page to request pictures and comments, so you donīt have to have to have 1 html page for each image?
...Using only a forward and back button?
vishu_gupt
01-19-2003, 11:18 PM
Surely, you can use only one page to show the image archive. What you have to do, use any server side language(ASP, CGI etc) and replace the name of the image in IMG src attribut and the comments related to the image on every click on NEXT and PREVIOUS.
any tutorials on the subject?
vishu_gupt
01-21-2003, 06:46 AM
Its simple.. what you have to do is, pass the pictureid to the ASP page through hyperlinks. Now based on this ID get the Image details from Database (if you are using one) or from the location, you have data. Prepare the image tag as
<Img src="Location/imagename" alt="imagetitle"> and then write the details.
For good ASP tutorials you can browse
www.asp101.com
www.4guysfromrolla.com