Ok more Info:
When am image is Upload, Its Assigned a PID Number for an example: Pid Number: 2202
When you view the Image in Full Screen, It does this Using the PID Number
As the example above
http://www.mess-hall.co.uk/gallery/displayimage.php?pid=2202&fullsize=1But when we look at this image in an album is does not Use its own PID Number,
The Album assigns it a New PID number,
It assigns it a Number Pending on what possions its in in the Album
I.e. Album A has 5 Images, My Image is Possion 2, And assigned a PID number of 2
Its Ignored the original PID number it was assigned when it was Added to the Gallery (2202)
Is this new PID Number in the album getting its Info from the Database or is it generated on the search (Generating the PID numbers from the Script Its not recorded anywhere)
The reason we ask this:
I have wrote a script that displays a Fading Slideshow, this is linked to the Coppermine DB,
The idea of the script it will load X amount of images from an Album and Randomly display them,
When the mouse is Over it will Pause, When the Mouse is click ont he image it will link you to the Gallery Section
(Where you have the Preview of other images at the bottom and a voting system)
The problem is i have coded my script to work on Radom and to use the Original PID Number each image is given
when when the image is clicked on it out puts something like this:
http://www.mess-hall.co.uk/gallery/displayimage.php?album=25&pos=2202 This is incorrect but if its it works
http://www.mess-hall.co.uk/gallery/displayimage.php?album=25&pos=4pos=4 in the galley needs to be pos=2202 my script would work,
Or i need to know where it gets the POS fromt he database,
I hope this makes things little more clear or i have confused things too much