News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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