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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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