Jump to content

Directory-Based Image Gallery


therealwesfoster

Recommended Posts

Ok, here's the deal.

 

I have a gallery page, and its setup like this: There is a big pic (the selected one), and below it are the rest of the pics but smaller. I'm needing to grab the pics from a directory, without using a DB.

 

So, inside of the /gallery/ dir, there are (lets say) 10 pics. How can I pull the names of each pic in the directory, and the total pics in the directory, in order to display them on the page and be able to navigate through them?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/88920-directory-based-image-gallery/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.