Image URL when people right click to see property Image URL when people right click to see property
 

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

Image URL when people right click to see property

Started by uny, April 03, 2004, 04:33:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uny

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:

http://yoursite.com/coppermine/displayimage.php?pos=-317

instead of the


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


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

Joachim Müller

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

photoman13

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 :)