Jump to content


Creating a page which displays images from a folder

  • Please log in to reply
1 reply to this topic

#1 Manshu

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 23 May 2006 - 06:45 PM

Hey there guys.. Im trying to create a page which first gets all the images (Such as 001.jpg, 002.jpg.. etc) out of a folder, then it displays one of them depending on what the person put in their url.. as if I put photos.php?image=002, it would display 002.jpg.. and so on and so forth..

I also need dyanmic next and previous links for it to go to 003.jpg (if it is on 002) and back to the previous one.. being 001.jpg.

Thanks a lot!

#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 23 May 2006 - 07:31 PM

Have you searched the forums? There are a hundred examples of how to do things like that. And have you tried anything at all? I suggest posting some code and letting us know where you're getting stuck. No one is going to write it for you.

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users