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: permanent url to an image  (Read 3758 times)

0 Members and 1 Guest are viewing this topic.

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
permanent url to an image
« on: November 23, 2004, 06:42:52 pm »

i hope you won't bite my head off...

i'm sure this has been asked before, but i cannot find it...

i want to link a photo of my coppermine gallery permanently to photo friday challenge.
how can i get a permanent url to an image of my gallery?

please give me a hint or a link to a related thread.

thank you!

« Last Edit: December 03, 2004, 04:46:20 pm by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: permanent url to an image
« Reply #1 on: November 23, 2004, 07:21:43 pm »

If you want to link to the page it is on, look in the image info, it is there.

if you wish to hotlink to it, then open up the fullsize image, right click on it, and select properties.
The url will be shown.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
Re: permanent url to an image
« Reply #2 on: November 23, 2004, 07:33:15 pm »

thank you so much for the quick reply!
the only problem is, as you can see at my site http://www.a-visual-notebook.at, i have changed and disabled a lot of things, such as the full size image feature and the image info. how can i get the permanent url anyhow?

thanks
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: permanent url to an image
« Reply #3 on: November 23, 2004, 07:44:47 pm »

That's a nice look  ;)

The url of your lastup pic is 'http://www.a-visual-notebook.at/albums/userpics/10001/2004_11_21_04.jpg'

Just right click on the image, and the url of the pic is in the properties.  If it says 'normal_' before the image filename, just remove that for the fullsize pic url.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
Re: permanent url to an image
« Reply #4 on: November 23, 2004, 08:21:16 pm »

thanks caspar :)

of course i know the url to the image itself, but what i want is:
to get is a permanent url of the coppermine PAGE where the image is displayed.

cheers,
michael
Logged

Nibbler

  • Guest
Re: permanent url to an image
« Reply #5 on: November 23, 2004, 08:27:56 pm »

The permanent url is of the form 'displayimage.php?pos=-123'. It exists in the pic info,  and is made from simply the id of the pic with a '-' infront.
Logged

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
Re: permanent url to an image
« Reply #6 on: November 23, 2004, 08:59:28 pm »

thank you so much, nibbler,

"id of the pic with a '-'" that's one thing i wanted to know...

the only problem is... ;) as i said and as you can see, i have disabled the pic info for my site.
at the moment, the only way i see to get a picture's ID, is to look after it at the mysql database tables.
but maybe there's smoother way to get it...?

thanks for your patience,
michael
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: permanent url to an image
« Reply #7 on: November 23, 2004, 09:01:59 pm »

On the upper left hand corner of the image is an icon to toggle the picture info on/off. Or did you disable that too?
Logged

Nibbler

  • Guest
Re: permanent url to an image
« Reply #8 on: November 23, 2004, 09:05:41 pm »

I think the delete link includes the pid (if you still have that of course).
Logged

michael singer

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 42
  • random image from: www.a-visual-notebook.at
    • a visual notebook
Re: permanent url to an image
« Reply #9 on: November 24, 2004, 11:49:41 am »

now i see... the edit link shows the pid too!

a big thanks to you all for your help!
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.