dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: 1 page for all pics

  1. #1
    Join Date
    Jan 2003
    Posts
    29

    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?

  2. #2
    Join Date
    Dec 2002
    Posts
    54
    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.

  3. #3
    Join Date
    Jan 2003
    Posts
    29
    any tutorials on the subject?

  4. #4
    Join Date
    Dec 2002
    Posts
    54
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles