Advanced search  

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]

Pages: [1]   Go Down

Author Topic: PID...How do I get it???  (Read 7423 times)

0 Members and 1 Guest are viewing this topic.

kweeween

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
PID...How do I get it???
« on: March 25, 2008, 09:07:04 pm »

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
Logged

Nibbler

  • Guest
Re: PID...How do I get it???
« Reply #1 on: March 25, 2008, 11:31:20 pm »

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.
Logged

kweeween

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PID...How do I get it???
« Reply #2 on: March 26, 2008, 09:40:54 am »

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
Logged

kweeween

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PID...How do I get it???
« Reply #3 on: March 26, 2008, 09:45:34 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....
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: PID...How do I get it???
« Reply #4 on: March 26, 2008, 12:10:03 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: PID...How do I get it???
« Reply #5 on: April 06, 2008, 07:49:32 am »

ok thanks but why is it not shown if use the 'PID' with cpmfetch?
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.