very simple folderstructure like this …
- index.php
- img
- someimage1.jpg
- someimage2.png
- someimage3.jpg
I wonder how difficult it is to use php to read this img folder and create a microsite that loops through this images with "prev" and "next" links.
So I don't want to manually specify what the filenames of the images are. I just want to add images to the folder and a php script runs through them and creates a navigation like that
<a href="nextimage-link" class="next">Next Image</a>
<a href="previmage-link" class="prev">Previous Image</a>
So whenever I click on the "Next Image" link it updates the site and shows the next image.
Is that complicated to build? Any ideas on that? Thank you in advance for your tipps and help.
glob()