PHD code to automate image linking..
Posted: Thu Jul 31, 2008 3:13 pm
Hi,
This is regarding automating image gallery display.
We have directory tree as follows,
Root directory = ../image
Folders under image = event1, event2, event3... etc
Folder under every event = thumb
Basically we have all the photos grouped in 'event' folders and corresponding thumb nails are under 'thumb' folder.
We are using lightbox to display photos. Following is the code given by lightbox folks.. I have to copy / paste it multiple times to display all the photos stored in the event folder. The HTML tag is as follows,
<a href="/image/08_event1/08_event1_01.JPG" rel="lightbox[roadtrip]"><img border="0" src="/image/08_event1/thumb/t_08_event1_01.JPG" width="100" height="80"></a>
Is there PHP code available to automate this image linking process and embed above syntax ?
I am a non IT guy and using the light box tool to display various photos for one non profit social club.
Thanks for your time and help.
This is regarding automating image gallery display.
We have directory tree as follows,
Root directory = ../image
Folders under image = event1, event2, event3... etc
Folder under every event = thumb
Basically we have all the photos grouped in 'event' folders and corresponding thumb nails are under 'thumb' folder.
We are using lightbox to display photos. Following is the code given by lightbox folks.. I have to copy / paste it multiple times to display all the photos stored in the event folder. The HTML tag is as follows,
<a href="/image/08_event1/08_event1_01.JPG" rel="lightbox[roadtrip]"><img border="0" src="/image/08_event1/thumb/t_08_event1_01.JPG" width="100" height="80"></a>
Is there PHP code available to automate this image linking process and embed above syntax ?
I am a non IT guy and using the light box tool to display various photos for one non profit social club.
Thanks for your time and help.