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 when people right click to see property  (Read 3325 times)

0 Members and 1 Guest are viewing this topic.

uny

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Image URL when people right click to see property
« on: April 03, 2004, 04:33:14 am »

Yes, I did a search but was unable to find the answer to it, if there is an answer, I'm sorry about my searching skills.

But anyway.

I want to the URL when people right click on the pic to see the property to be displayed as below:

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

instead of the

Code: [Select]

http://yoursite.com/coppermine/albums/yourfolder/yourpic.jpg


Thank you for your help in advance!
I appreciate your inputs.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Image URL when people right click to see property
« Reply #1 on: April 03, 2004, 09:36:01 am »

Since the url of the pic actually is http://yoursite.com/coppermine/albums/yourfolder/yourpic.jpg and nothing else, you'd have to trick the OS/browser.
Mr. Gates is somewhat strict when it comes to people requesting the source code of his browser software and operating system, so I guess this will get quite hard to accomplish, and think of all the places in the world you will have to travel to make people replace their browsers with your version... :wink:
You can however try to write some JavaScript that will show a mock-up of a context menu when someone right-clicks the pics, but since the context menus greatly differ (depending on OS, browser and user settings), this will be very hard work as well... :wink:

In other words: what you request is not possible at all! :roll:

GauGau
Logged

photoman13

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 96
Image URL when people right click to see property
« Reply #2 on: April 05, 2004, 09:00:00 pm »

why not just set up an .htaccess in your album folder so that people can't direct link to your photos .. seems much easier to do :)
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.