How to disable"save image as" function on your webpage?

Discussion in 'HTML & Website Design' started by windy, Apr 29, 2009.

  1. #1
    How to disable"save image as" function ,
    without disable right click?

    Thanks.
     
    windy, Apr 29, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    You can load a jpg (or whatever) using Flash, it will then appear as an swf (you embed an swf into your page, it then loads an external jpg).
    But frankly, it's not worth it. You can't stop people from using Print Screen.

    If you really want to 'protect' your images, the only thing you can do is whack a big ugly watermark on them.
     
    Kerosene, Apr 29, 2009 IP
  3. clade

    clade Peon

    Messages:
    548
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Is that how YouTube protect their logo, I can't right click on it and choose Save As.
     
    clade, Apr 29, 2009 IP
  4. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #4
    Nah, that just looks like plain old css. I looked at the YouTube css file, and found their logo and icon png:
    http://s.ytimg.com/yt/img/master-vfl89407.png

    If it's displayed in a browser, then it can be copied/saved.

    I didn't realize that YouTube had a separate domain to host their images on (ytimg.com).
     
    Kerosene, Apr 29, 2009 IP
  5. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    819
    Best Answers:
    7
    Trophy Points:
    320
    #5
    By definitions users MUST upload ALL web content to their computers BEFORE the browser can display that content. Once that content is on the user's computer, the owner of that content TOTALLY LOSES CONTROL OF IT. All the owner can do is to make it harder for the user, but the owner can NEVER stop the user from copying or saving that content.

    THE ONLY GUARANTEED METHOD OF PROTECTING ANY "RIGHTS" THAT YOU HAVE IS TO NEVER EVER PUT THAT CONTENT ON THE INTERNET.
     
    mmerlinn, Apr 29, 2009 IP
  6. diwebdesign uk

    diwebdesign uk Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You could make the image a background image for a div. Just set the width and the height and then set background:url(your_image.jpg);

    They could still get access to the image if they really wanted to however the simple right click and "save image as" is removed.

    The best way would be to watermark your images.
     
    diwebdesign uk, Apr 29, 2009 IP
  7. FlashDriveDT

    FlashDriveDT Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yeah, I always find it laughable when one uses right mouse click and it pops up "Image is protected" "copyrighted" and so on. There's so many ways to bypass that. The easiest is to get the image url and load it individually in the browser. Or the save button that pops up in the left corner of the image in IE, regardless. I've seen that too.
     
    FlashDriveDT, May 5, 2009 IP
  8. Ibn Juferi

    Ibn Juferi Prominent Member

    Messages:
    6,221
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    310
    #8
    There's no foolproof way to disable it. Most sites use a Javascript to disable right-clicking but that can be easily bypassed. However, the only method which I have seen thus far that works really well is to load the image in a Java applet. That should stop someone from stealing the image.
     
    Ibn Juferi, May 5, 2009 IP
  9. free3dart

    free3dart Active Member

    Messages:
    241
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #9
    print screen always works, no problem whatever you do.
     
    free3dart, May 5, 2009 IP
  10. normalfx

    normalfx Peon

    Messages:
    111
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    there's another method by place 1X1 transparent pixel gif file overlay your image using CSS to control it. Anyway this can't be protected your image from the expert user.
     
    normalfx, May 6, 2009 IP
  11. mcliviu

    mcliviu Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    apparently sounds nice... like hi5,but you can save entire page with photo... so.. junk...

    The right answer is, YOU CAN'T!
     
    mcliviu, May 6, 2009 IP