SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    Non-Member
    Join Date
    Oct 2009
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How this site is disabling "Saving" pictures?

    Please open this link

    http://9gag.com/gag/38901/

    Now when you right click on the image (in Firefox) and select "View Image", you will see nothing. The image is not appearing and in the address bar it is showing this URL

    http://9gag.com/img/invisible.gif

    Even if you select "Right Click > Save Image As" you cannot save that picture but that invisible.gif file will be saved.

    How is this site protecting images?

    I want that script or whatever technique they are using.

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,789
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    All that it is doing is displaying a transparent GIF image in front of the other image. When you right click and save you get the front image and not the one from behind.

    Of course you already have all the images stored in your browser cache and could easily copy them from there to somewhere more permanent on your computer (via the File/Save As menu option is the simplest way). Of course you wouldn't copy any images for use anywhere other than as a part of the web page that they are in because that would be stealing.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    Error 404: Life not found silver trophybronze trophy
    Join Date
    Dec 2007
    Location
    UK Nr Manchester
    Posts
    3,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They're certainly gone out of their way to make ripping the images tricky, not only are they using the invisible gif trick but when you extract the image file path from the HTML it's been quartered like this - http://d3uwin5q170wpc.cloudfront.net..._580x2_1_1.jpg so you have to get the four pieces and put it together in photoshop or something which most people don't have.

    Why not just do an image search
    It's 530 people, but do you really get it?
    ImgWebDesign - Web design in Buxton, High Peak, Derbyshire UK.

  4. #4
    Non-Member Kalon's Avatar
    Join Date
    Aug 2010
    Location
    At my computer
    Posts
    2,012
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by leopard View Post
    ..........How is this site protecting images?

    I want that script or whatever technique they are using.
    All they are doing is making you jump through a few extra hoops to get the photo. Once an image appears in a user's browser you cannot stop them from taking a copy.

    As a last resort all a user has to do is press the PrtScrn (Print Screen) key on their keyboard and a copy of the screen is put into their clipboard. You then simply open a new file in Photoshop or most other other image editing applications using the contents of the clipboard. Once it is in an image editing application you can do what you like with it.

    Bottom line: if it's going to cause you problems if anyone copies your web images, then don't publish them on the www in the first place.

  5. #5
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,789
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Kalon View Post
    As a last resort all a user has to do is press the PrtScrn (Print Screen) key on their keyboard and a copy of the screen is put into their clipboard.
    No one should ever need to do that. Using the "Save As" option from the browser's "File" menu should be able to save the entire page including the images without having to run the risk of losing image quality by taking a screen print. If they have somehow managed to block that menu from appearing then there are two further choices - to switch to a browser where it isn't blocked or to just copy the images directly from the browser cache.

    I'd consider copying from the browser cache to be the last resort with no need to ever consider using PrtScrn.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  6. #6
    Non-Member Kalon's Avatar
    Join Date
    Aug 2010
    Location
    At my computer
    Posts
    2,012
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just use the PrtScrn if File->save is disabled for some reason purely from the point of ease and convenience as opposed to going to the cache or any other folder to look for it. Any mage quality loss from using PrtScrn is negligible for my purposes.

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Off Topic:

    I love the class name on that gif image too.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  8. #8
    Error 404: Life not found silver trophybronze trophy
    Join Date
    Dec 2007
    Location
    UK Nr Manchester
    Posts
    3,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    Off Topic:

    I love the class name on that gif image too.
    lol yeah, I saw that too.
    It's 530 people, but do you really get it?
    ImgWebDesign - Web design in Buxton, High Peak, Derbyshire UK.

  9. #9
    SitePoint Member
    Join Date
    Feb 2006
    Location
    Las Vegas
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a simple screenshot will let you still steal the image anyway. printscreen key in windows will copy everything on your screen to the clipboard. More than anything, you can annoy your users, but you can't stop them from taking content once it's on their computer.
    IOFLOOD.com offers expertly optimized
    unmetered bandwidth Xen VPS servers.
    Packages available with SSD storage
    or per-customer dedicated hard drives.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •