I'm introducing an new photo gallery to our site, however we have many groups of images that will need to be inserted. I'm looking for a way to automate this process based on a directory lookup, as well as adding captions to images based on a .txt file.
Here is the code I'm using to call the image within the gallery.
<a href="images/ICI_TAC_web1.jpg" rel="lightbox[iCI]" title="Some Caption for Cool Pic Here"><img src="images/ICI_TAC_web1_thumb.jpg" alt></a>
<a href="images/ICI_TAC_web2.jpg" rel="lightbox[iCI]" title="Some Caption for Cool Pic Here"></a>
<a href="images/ICI_TAC_web3.jpg" rel="lightbox[iCI]" title="Some Caption for Cool Pic Here"></a>
So I have a few attributes that would need to be automated, file name, group name (ICI in the case above), and captions. I don't need this to produce thumbnails for the gallery as we will handle this resizing before the upload, but I will need the code to recognize the thumbnail and display it.
Thanks in advance for help with this. I'm not sure this is possible or not, however I appreciate the communities input.