Hi,
I'm looking for some code to use on a gallery page. In a database, I have some data stored such as the article ID for the images, eg. "2607041" and there is also a number such as "19" which is the total number of images available.
Basically, I'd like to retrieve that number and use it to return 19 thumbnail images, incrementing for each. So the 1st thumbnail would be 001.jpg, the second 002.jpg up to the 19th thumbnail as 019.jpg.
Also, the table where the images are show would need to have no more than 5 images on each row and if the total number of images exceeds 25, I'd need a link to the next page, where it would start the thumbnails from no. 26. Then that would need a previous button etc.
Do you know what I mean?
If you can help, I'd much appreciate it.
Sam
|