Hi All
I have a clent that wants a Gallery this i've done with no problem when you click an image another page appears with a larger version of the image again no problem.
Here is the problem i have
there are 10 image thumbnails the user clicks on 5 and gets the large image how do i navigate backwards and forwards once in the large image page ive tried everthing i know but the only thing i've been able to do is have another rs on the page but when you click the next button it goes to number 1 instead of 6.
Anyhelp would be welcomed.
Best Regards
Krellee.
Gallery Problem
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Gallery Problem
Do you have a link with an example?
Re: Gallery Problem
It's just standard paging (pagination) with 1 thing per page.
Re: Gallery Problem
I'll mirror the above comment:
Can you link to an example/post the php you're using?
It will help us see what you need to do.
Can you link to an example/post the php you're using?
It will help us see what you need to do.
Re: Gallery Problem
Thanks for the Reply guys
I think the problem might be in the SQL
SELECT * FROM gallery WHERE imgID = imgID
UNION
SELECT * FROM gallery WHERE imgSection = wildlife
But here's the page.
http://www.andyhook.com/sections.php?im ... n=wildlife
once you click an image the main image comes up however when you click on next button you jump to the start of the recordset and not the image you selected
I think the problem might be in the SQL
SELECT * FROM gallery WHERE imgID = imgID
UNION
SELECT * FROM gallery WHERE imgSection = wildlife
But here's the page.
http://www.andyhook.com/sections.php?im ... n=wildlife
once you click an image the main image comes up however when you click on next button you jump to the start of the recordset and not the image you selected