Hi,
I have a client that requires thumbnails for a gallery. I have built a thumbnail viewer with back/page/next links - works great. The problem: They also want a back/next link under the main pic that the thumbnails call.
Currently, clicking on a thumbnail reloads the page and passes the picture ID in the URL, when the page loads, a query then retrievs the picture with the pased URL.
Has anyone got any ideas on how I can create the back/next links, my guess is that I need to somehow load the previous and next picture ID... I should also mention that the IDs are not always going to be in sequential order (not as easy as ID -/+ 1) Here is the link to the live site:
You wil notice the back/next links under the main picture in the bottom right hand corner. If anyone needs to see the coding let me know. Any help this would be greatly appreciated. Thanks in advance, Brad
I have a client that requires thumbnails for a gallery. I have built a thumbnail viewer with back/page/next links - works great. The problem: They also want a back/next link under the main pic that the thumbnails call.
Currently, clicking on a thumbnail reloads the page and passes the picture ID in the URL, when the page loads, a query then retrievs the picture with the pased URL.
Has anyone got any ideas on how I can create the back/next links, my guess is that I need to somehow load the previous and next picture ID... I should also mention that the IDs are not always going to be in sequential order (not as easy as ID -/+ 1) Here is the link to the live site:
You wil notice the back/next links under the main picture in the bottom right hand corner. If anyone needs to see the coding let me know. Any help this would be greatly appreciated. Thanks in advance, Brad