all of this work fine tha tonly problem is tha tno matter witch photo the user click on, they are sent to the firs tone and from there they can navegate all the pictures..
i want them to be able if the click on any picture that thy are sent to that picture and they can keep navagating from there on, not start from the first one.. this is what i'm trying to do in code..
the problem is that the $_get['p'] is located on the second page that they are able to navegate one by one..
so i need a way that when the click to go to that picture they are sent to that one..
jus tlok at any gallery and when you click on a theme you get all those picture in that them in some amount of pages when you click on just one they give you the option to keep looking at all the picture one by one..