I am in the process of creating an image gallery for my website. In this scenario, I am displaying thumbnails of all images and when clicked, the image appears in a modal window. There are two main folders:
- Thumbs (contains thumbnails)
- Full Image (contains full-sized images)
I have named the images with the same name in both folders, and I can also hard code the path to the images like this:
<ul id="gallery">
<li><a href="http://ppplugins.com/demo/ppgallery/images/l_01.jpg" title="Title will be here"><img class="GalleryThumbnail" src="http://ppplugins.com/demo/ppgallery/images/s_01.jpg"></a></li>
</ul>
However, I am unsure how to achieve this without hard coding values. Any assistance would be greatly appreciated. Ideally, if I add more images to these folders, they should automatically display on the page. Explore the links below: 1)
http://182.50.154.23/elweb//CheckImagesFromFolder.aspx
(attempting to replicate as shown in the second link provided but without hard coding the source)
2)http://182.50.154.23/elweb//Gallery.aspx
(desired outcome)