Author Topic: [Mod] Disable right click on images only  (Read 55057 times)

0 Members and 1 Guest are viewing this topic.

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
[Mod] Disable right click on images only
« Reply #15 on: April 24, 2003, 04:23:18 AM »
How can I format the copyright message?

I want to have linebreaks so that it's not just one long run on sentance.

Im trying to put:
All images are copyright their respective owners
Please view the full image and use the download link to download
We dont allow Hotlinking, so there is no need to view the properties
of the images.
Thank you,
Sitename

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Mod] Disable right click on images only
« Reply #16 on: April 24, 2003, 03:31:17 PM »
use \n
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Prashant

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] Disable right click on images only
« Reply #17 on: April 30, 2005, 09:50:06 AM »
Mmmm, but when the site is open in Firefox, if you right click on the image, it will show the Copyright notice. But click 'OK' to close the pop up copyright window and then right after closing the window the usual menu-on-right click opns up allowing the user to save the photo.
Is this just happening to me ??

Offline dontstay

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [Mod] Disable right click on images only
« Reply #18 on: June 02, 2005, 08:43:18 PM »
Mmmm, but when the site is open in Firefox, if you right click on the image, it will show the Copyright notice. But click 'OK' to close the pop up copyright window and then right after closing the window the usual menu-on-right click opns up allowing the user to save the photo.
Is this just happening to me ??

Happens with me too, but if you notice and look at the menu, there is no 'properties' or 'save image as' options. It's as though you right-clicked on the page, not the image. :)

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [Mod] Disable right click on images only
« Reply #19 on: November 12, 2005, 09:47:21 PM »
Is there a way to change this mod, so that it works only on the details page, with the full image.

I still want to be able to right click on thumbs to open in a new window.

thanks for the help

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Disable right click on images only
« Reply #20 on: November 13, 2005, 02:30:27 PM »
copy the JS into the detail.html... (o:

a other solution is to use the strg and then klick on the Thumb to open it in a new window...

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: [Mod] Disable right click on images only
« Reply #21 on: November 13, 2005, 10:48:50 PM »
copy the JS into the detail.html... (o:

a other solution is to use the strg and then klick on the Thumb to open it in a new window...

Thanks Acidgod, after i posted that i thought the same thing.
But didnt get a chance to try it untill now.
and it works  :D

Offline lemccoy

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • DrunkIsland
Re: [Mod] Disable right click on images only
« Reply #22 on: November 18, 2005, 02:31:54 PM »
What I have done is delete the javascript code and use:

header.html

Code: [Select]
<meta http-equiv="imagetoolbar" content="no">
as well as:

Code: [Select]
<body oncontextmenu="return false" ...>
Works pretty well so far, need to test on firefox.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Disable right click on images only
« Reply #23 on: November 19, 2005, 03:03:41 PM »
Works pretty well so far, need to test on firefox.

Works in Firefox too... (o:

Offline RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Disable right click on images only
« Reply #24 on: January 08, 2007, 09:04:25 AM »
thanks a lot dude for this great thing :)