How position ID is assigned to a photo? How position ID is assigned to a photo?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How position ID is assigned to a photo?

Started by ^SuPeR^, January 16, 2007, 11:50:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

^SuPeR^

Hi,
it possibile to know how position is assigned to a photo?
So
displayimage.php?album=lastup&cat=0&pos=0
position is incremental but for this
displayimage.php?pos=-xxx
?
Thanks

Abbas Ali

pos=-xxx actually is the picture id stored in database and not position. so pos=-xxx is actually pid=xxx.
Chief Geek at Ranium Systems

^SuPeR^

Thanks!
And is the a rule for pid assigned in database...like first photo pid=001, 2nd pid=002 etc. or it's random?

Abbas Ali

Yes, first added photo is 1 second is 2....
Chief Geek at Ranium Systems