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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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