Hi looking for a way to get a photo gallery to read a directory of image files and display them but without having to enter the name of each file as this is a gallery that will change on a regular basis .
I have looked around but am coming up dry
4:14 pm on Apr 11, 2011 (gmt 0)
You'll probably need some sort of server side programming to read the directory - PHP, Perl, ASP . . . you might look for "PHP static gallery" or something like that.
5:00 pm on Apr 11, 2011 (gmt 0)
OK ta i will have a look see
3:49 am on Apr 21, 2011 (gmt 0)
12:45 pm on May 8, 2011 (gmt 0)
right then well problem solved very easily in the long run
code: for f in stagepics/*jpg ; do echo "<a class=\"thumbnail\" href=\"#thumb\"><img src=\"$f\" width=\"100px\" height=\"75px\" border=\"0\"><span><img src=\"$f\"></span></a>" ; done > pics.html
works a treat in Linux i have no doubt it can be modded for use under wnders HTH someone
6:55 pm on May 8, 2011 (gmt 0)
Search 'Automatically Generate a Photo Gallery from a Directory of Images' and you will have plenty of choices.
11:38 pm on May 8, 2011 (gmt 0)
Hi i had found a few but for one reason or another they did not seem right (personal likes and dislikes i suppose) one hing i will say about the script if like me you like your cose to look tidy then it all needs to be on one line
12:29 pm on Jun 2, 2011 (gmt 0)
[web-kreation.com...] - That website offers a few that I like. If you have any problems or need anything specific to your needs, feel free to contact me.
[edited by: incrediBILL at 12:39 pm (utc) on Jun 2, 2011] [edit reason] sigs removed [/edit]