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: image url  (Read 2771 times)

0 Members and 1 Guest are viewing this topic.

goob

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
image url
« on: March 01, 2004, 06:43:32 am »

i was wandering if there was somthing already made or if someone could do this for me but anyway. when u click on the image it list the image url not the page that the image is on but the acual image url


thanks,
Tony Brink
Logged

Ravage

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
image url
« Reply #1 on: March 01, 2004, 07:00:35 am »

not sure if its already in there or a mod for it for not but here's how you can do it.

this should be pretty easy for you to do.
Look in the displayimage.php
find the img code
copy the code and put it in a print()
that will do it. You will have edit the code though to add a table box where the url will display at. That way it shows up nice and neat.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
image url
« Reply #2 on: March 01, 2004, 12:25:45 pm »

If you mean you want
Code: [Select]
http://yoursite.com/coppermine/albums/yourfolder/yourpic.jpg

instead of the
Code: [Select]
http://yoursite.com/coppermine/displayimage.php?pos=-317

I think there is a hack already done for this.  Do a search.
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
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.