very simple folder structure 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 scrolls through these images using the "prev" and "next" links.
Therefore, I do not want to manually specify file names. I just want to add images to a folder and skip php script and create such navigation
<a href="nextimage-link" class="next">Next Image</a> <a href="previmage-link" class="prev">Previous Image</a>
Therefore, whenever I click the link "Next Image", it updates the site and shows the next image.
Is it hard to build? Any ideas on this? Thank you in advance for the tips and help.
source share