PID...How do I get it??? PID...How do I get it???
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

PID...How do I get it???

Started by kweeween, March 25, 2008, 09:07:04 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kweeween

Hi,

this might be a stupid question since I could not find anywhere in here smething related to my question. So it might be really easy. Maybe I am just to focused on searching that I cannot find the answer...

So:
I would liek to use cpmfetch - specifically the function 'mediabyPID'

My question: How do I know what is the PID since I can only see album number and position number in the url?

Sorry for bothering but maybe someone can help me out here...

Cheers,
-Kweeween

Nibbler

If you enable the 'file information' box then you can see the pid in the static link below the image. Post a link to your gallery if you can't see it.

kweeween

thanks for replying..
yeah: i found the file information box.
but: in that box I only get see something like that www.domain.com/displayimage.php?pos=-327

so tried comfetch with id=-327 but it did not work.
is this really the pid? it still seems to refer to the pos....

thanks for any advice,
-kweeween

kweeween

Quote from: kweeween on March 26, 2008, 09:40:54 AM


so tried comfetch with id=-327 but it did not work.
is this really the pid? it still seems to refer to the pos....


actually i also tried positive numbers....

Stramm

In your case the picture id is 327

In displayimage.php the parameter name pos is used in two ways. If the value is positive, it describe the position in an (meta)album, is the value negative the pid (picture id).

kweeween

ok thanks but why is it not shown if use the 'PID' with cpmfetch?