I am interested in creating a loop to iterate over the images folder and display them on the screen, similar to the code snippet below:
<section id="photos">
<a target="_blank" href="images/1.jpg">
<img src="images/1.jpg">
</a>
</section>
All of the images in the folder are numbered, and I am looking for a way to loop through all the pictures without having to manually type out the code for each one (e.g. 1, 2, 3, 4, 5, etc). How can I achieve this?