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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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