PDA

View Full Version : random pic


laffarguee
03-18-2006, 04:58 PM
I have a little problem. I don't know why but when i use the tag "IMAGE_PREVIOUS_ID" or NEXT... pixelpost don't show me the next or preview ID. it's a random one. I would like to have the real next or previous pic ID . so if i have the number 65, i would like the number 64 or 66.
You can see here
http://eric.laffargue.free.fr

thank you

eric

laffarguee
03-20-2006, 11:06 AM
nobody could help me...............

se.nsuo.us
03-20-2006, 11:20 AM
have you install the random picture addon?

Connie
03-20-2006, 07:45 PM
I have a little problem. I don't know why but when i use the tag "IMAGE_PREVIOUS_ID" or NEXT... pixelpost don't show me the next or preview ID. it's a random one. I would like to have the real next or previous pic ID . so if i have the number 65, i would like the number 64 or 66.

eric

it is not a random pic, it is a misunderstanding.
We had this question many times.

The numbers are id-numbers, and each photo which you upload get the next free id, if you delete that one, the next uploaded does not get that ID but a new one

that is traditional database behaviour and there are many reasons for it

the only way to have a long line of continuous numbers is not to delete any images after uploading..

"next" and "prev" refer to the next posted image and that is another thing than the index-number

Is it clearer for you now?

laffarguee
03-24-2006, 06:50 AM
oh yes, thank you very much

eric

Joe[y]
03-24-2006, 07:05 AM
sorry but i disagree connie. there is definetely something wrong in there. if you look in the archive there are 146 images. but when your browse backwards on the front page you find the id skipping 20 times or so (when in the archive you'll notice it doesn't skip ids anywhere near that often) so on the front page front to back seems to only display about 20 images.

zef
06-21-2006, 10:16 PM
have you install the random picture addon?
Where can i find random picture addon?