[RESOLVED] Dynamic For Loop from amount of files in folder
I'm trying to create a dynamic for loop that echos all the images in a folder.
I'm using the query string to switch folders for the images. If you go to http://btseagrave.co.uk/ink/index.ph...&artist=bianca you will see what I mean. On the artists page a file called gallery.inc.php is included which displays the images depending on which artist page its on. Here is the gallery.inc.php so far, I'm not sure why it isn't working. Any suggestions?
I now have one more problem though:
I'm trying to use a Lightbox which requires the anchor around the image to link to the actual image not the thumbnail. The anchor needs to link to the same file but in a big folder instead of thumb folder. (e.g. images/bianca/big/1.jpeg instead of images/bianca/thumb/1.jpeg). I would just change the directory variable but I still need to print out the thumbnails on the page.