Page 1 of 1

Gallery Problem

Posted: Sun Aug 24, 2008 12:06 pm
by krellee
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.

Re: Gallery Problem

Posted: Sun Aug 24, 2008 1:22 pm
by jaoudestudios
Do you have a link with an example?

Re: Gallery Problem

Posted: Sun Aug 24, 2008 1:28 pm
by onion2k
It's just standard paging (pagination) with 1 thing per page.

Re: Gallery Problem

Posted: Sun Aug 24, 2008 5:45 pm
by omniuni
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.

Re: Gallery Problem

Posted: Mon Aug 25, 2008 11:10 am
by krellee
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