Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
No Right Click on Photo's
  • Posted: 29.06.2004, 17:47
     
    PuddySpace
    rank:
    Softmore Softmore
    registered:
     January 2004
    Status:
    offline
    last visit:
    08.11.04
    Posts:
    85
    I have my photo's set up on pages in sections and had no luck using a javascript to stop right clicking to nick pics. Is there a way I can lock it so people can't right click and save on pics (ie steal them) ?
  • Posted: 29.06.2004, 17:53
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    nope - since javascript can be disabled in almost all browsers...

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 29.06.2004, 18:21
     
    PuddySpace
    rank:
    Softmore Softmore
    registered:
     January 2004
    Status:
    offline
    last visit:
    08.11.04
    Posts:
    85
    I know that can be done but the idiots we have trouble with aren't pc literate, they just like to right click and save so they can use our own pics against us in abuse.

    Is there not a way that the rigth click can be disabled on the sections pages. I tried putting a javacript in the HTML for the page the pics are on but it ignored it even though it is enabled in admin settings WITH tags.
  • Posted: 29.06.2004, 21:32
     
    barkndog
    rank:
    Softmore Softmore
    registered:
     November 2003
    Status:
    offline
    last visit:
    12.09.05
    Posts:
    87
    There's a way, but its very involved.

    Browsers are the issue here - if there is a referenced img tag, the browser will let you right click and download that image. There is no way PN can disallow a right click somewhere in the browser. So, to get around the img tag, here is a suggestion:

    You could modify the theme, and have a java applet (not javascript) display the picture for you. The java applet would "paint" the picture on its frame, and right clicking on it would have no affect - because they'd be right cliking on an applet instead of an img. Creating an applet to display images is covered in basic Java books.

    The problem with this is, of course, many people don't allow Java in their browsers. In that situation, I would just have the alternate text display the section name and a note that Java must be enabled to view images.

    This would be a lot to go through to stop people from downloading your images - it just depends on how bad you want to stop them.
  • Posted: 29.06.2004, 22:17
     
    PuddySpace
    rank:
    Softmore Softmore
    registered:
     January 2004
    Status:
    offline
    last visit:
    08.11.04
    Posts:
    85
    Oh gawd I don't get what your on about at all........ok different route.....are there any gallery modules that let you protect your pics lol
  • Posted: 30.06.2004, 01:38
     
    dunx
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    17.04.08
    Posts:
    204
    If they can see the picture then if they want it they can have it. Just hitting PrintScreen on the keyboard of any PC will copy the screen to the clip board. Paste that into any graphics package and they have it, even if it is protected by a Java applet.If it comes down as part of an IMG tag, then it's sitting on their PC in the cache. Just ordering the cache by date, let's them pick out recently downloaded images. So you're basically on a loser trying to stop people grabbing things you're showing them.

    You've not really said what you're trying to do. But if you're trying to protect copyrighted photographs or something, then the obvious route is to whack a watermark across each one. Some of the gallery packages might do that (they're next on my list) or be easily enhanced to do that. Perhaps people then have to sign up to download the proper images or get them through some store. I dunno what you is wanting.
  • Posted: 03.07.2004, 02:26
     
    tonymasiello
    rank:
    Registered User Registered User
    registered:
     July 2004
    Status:
    offline
    last visit:
    03.07.04
    Posts:
    1
    This isn't full proof, but is one one of the best methods I've seen to slow down image saving... You need to make a fully transparent gif, and then set the dimensions to be the same as the image you are protecting. Assume that image.jpg is the image you care about protecting.









    Internet Movie Database uses this method for their publicity photos...

    http://imdb.com/gallery/hh/1431757/HH/1431757/LainieJordanNEW.jpg?path=pgallery&path_key=Jordan,%20Lainie
  • Posted: 03.07.2004, 16:07
     
    dunx
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    17.04.08
    Posts:
    204
    That's quite nifty. The image can still be cut and pasted, is still in the cache and if they look at the HTML source they'll see what's going on. But as you say, all these things slow them down. I still think the watermark is the best approach to stop people downloading stuff that they should be paying for.
  • Posted: 03.07.2004, 17:48
     
    Lilltiger
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.07.04
    Posts:
    24
    Another way is the use Flash, by using the script within flash to load an external image. But this will require that the user has flash and wont be protected against the printscreen method. But it might eaven be possible to make the flashmovie to detect the printscreen and switch frame.. Still this can be tricked by using an external program to take the screenshots..

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula