PHP gallery, thumbnail listing
- by Benjamin
Hi everyone,
I am planning a dynamic PHP photo gallery and having difficulty deciding on the best way to display the thumbnails after they have been retrieved via MySQL. I considered using an inline unordered list but this resulted in the thumbs being stacked one on top of the other (touching). Also tried a table but not sure how I would start the next row after x number of thumbnails.
Any suggestions on page layout for this purpose? I will be using Lightbox to cycle through the photos themselves, that isn't the issue.
Also, would a while() loop be best for fetching the list of thumbs and inserting the appropriate HTML?
Thanks!
-Ben