18 Replies Latest reply on Aug 21, 2007 4:19 PM by Newsgroup_User

    How to restrict image downloads?

    watercolor_gal
      I would like to prohibit downloading of images from my website. When a viisitor right-clicks on an image, I would like to display a message indicating that the image is copyrighted and can not be downloaded. How can this be done?
        • 1. Re: How to restrict image downloads?
          Level 7
          "watercolor gal" <webforumsuser@macromedia.com> wrote in
          news:facakb$pcp$1@forums.macromedia.com:

          There's no way you can prevent someone to download images from your web
          site. The moment an image displays on a visitor's monitor, it is on his
          machine and stored on the machine's temp internet folder.

          Deon
          • 2. Re: How to restrict image downloads?
            d_pete Level 1
            If someone really wants your image there is little you can do. You can use this script to disable right click (but if they know what they are doing they can get around this also. The best thing to do is to put a watermark on the image at any rate here is a script to diable the right click.


            <!-- TWO STEPS TO INSTALL NO RIGHT CLICK:

            1. Copy the coding into the HEAD of your HTML document
            2. Add the last code into the BODY of your HTML document -->

            <!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

            <HEAD>

            <SCRIPT LANGUAGE="JavaScript1.1">
            <!-- Original: Martin Webb (martin@irt.org) -->

            <!-- This script and many more are available free online at -->
            <!-- The JavaScript Source!! http://javascript.internet.com -->

            <!-- Begin
            function right(e) {
            if (navigator.appName == 'Netscape' &&
            (e.which == 3 || e.which == 2))
            return false;
            else if (navigator.appName == 'Microsoft Internet Explorer' &&
            (event.button == 2 || event.button == 3)) {
            alert("Sorry, you do not have permission to right click.");
            return false;
            }
            return true;
            }

            document.onmousedown=right;
            document.onmouseup=right;
            if (document.layers) window.captureEvents(Event.MOUSEDOWN);
            if (document.layers) window.captureEvents(Event.MOUSEUP);
            window.onmousedown=right;
            window.onmouseup=right;
            // End -->
            </script>
            </HEAD>

            <!-- STEP TWO: Copy this code into the BODY of your HTML document -->

            <BODY>

            <center>[ Try right-clicking the image and then the text link below ]
            <p>
            <img src=" http://javascript.internet.com/img/tjsbutton.gif">
            <p>
            <a href=" http://javascript.internet.com">Text Link</a>

            <p><center>
            <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
            by <a href=" http://javascriptsource.com">The JavaScript Source</a></font>
            </center><p>

            <!-- Script Size: 1.57 KB -->
            • 3. Re: How to restrict image downloads?
              Level 7
              > <!-- TWO STEPS TO INSTALL NO RIGHT CLICK:

              One step to disable this annoying an inaccessible intrusion on my browsing
              experience:

              In Firefox with the WebDev toolbar go to DISABLE >> JAVASCRIPT >> ALL
              JAVASCRIPT

              ;o)

              -Darrel


              • 4. Re: How to restrict image downloads?
                Level 7
                >I would like to prohibit downloading of images from my website. When a
                > viisitor right-clicks on an image, I would like to display a message
                > indicating
                > that the image is copyrighted and can not be downloaded. How can this be
                > done?

                Copyright is a legal concept. Not at technological concept. The fact that an
                item is copyrighted isn't directly correlated to whether or not a person can
                download or make a copy of work. There are plenty of legal situations where
                that's just fine.

                Furthermore, as stated, there simply isn't a technical solution to prevent
                this anyways.

                So, I'd suggest just putting a copyright notice on your site and if you
                think the images will be copied a lot and uses illegally and you just want
                to make it a bit harder, then slap a watermark across all the images.

                -Darrel


                • 5. Re: How to restrict image downloads?
                  Level 7
                  Also, doesn't work on Macs. Also, doesn't work on a left-handed mouse.
                  Also, just doesn't work.

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "darrel" <notreal@nowhere.com> wrote in message
                  news:facckt$rl2$1@forums.macromedia.com...
                  >> <!-- TWO STEPS TO INSTALL NO RIGHT CLICK:
                  >
                  > One step to disable this annoying an inaccessible intrusion on my browsing
                  > experience:
                  >
                  > In Firefox with the WebDev toolbar go to DISABLE >> JAVASCRIPT >> ALL
                  > JAVASCRIPT
                  >
                  > ;o)
                  >
                  > -Darrel
                  >
                  >


                  • 6. Re: How to restrict image downloads?
                    bregent Most Valuable Participant
                    >I would like to prohibit downloading of images from my website.

                    Impossible.

                    >When a viisitor right-clicks on an image, I would like to display a message indicating that the image
                    >is copyrighted and can not be downloaded. How can this be done?

                    You can disable right click, but there are so many other ways users can save your image files. And right click is not just used to save images. Many of us use right click functions to navigate websites. So disabling right click causes inconvenience to legitimate users, and does nothing to prevent images from being downloaded.
                    • 7. Re: How to restrict image downloads?
                      Level 7
                      On Mon, 20 Aug 2007 15:47:11 +0000 (UTC), "bregent"
                      <webforumsuser@macromedia.com> wrote:

                      >>I would like to prohibit downloading of images from my website.
                      >
                      > Impossible.
                      >
                      > >When a viisitor right-clicks on an image, I would like to display a message
                      >indicating that the image
                      > >is copyrighted and can not be downloaded. How can this be done?
                      >
                      > You can disable right click, but there are so many other ways users can save
                      >your image files. And right click is not just used to save images. Many of us
                      >use right click functions to navigate websites. So disabling right click causes
                      >inconvenience to legitimate users, and does nothing to prevent images from
                      >being downloaded.


                      And on Firefox & Opera - even if the pop up does appear - you can
                      click ok and you still get the full right click menu.

                      Flash images are harder to save - but there are ways

                      --

                      ~Malcolm N....
                      ~
                      • 8. Re: How to restrict image downloads?
                        Level 7
                        > Flash images are harder to save - but there are ways

                        ...the easiest being to just hit the Print Screen botton on one's keyboard.
                        ;o)

                        -Darrel


                        • 9. Re: How to restrict image downloads?
                          Level 7
                          On Mon, 20 Aug 2007 11:18:06 -0500, "darrel" <notreal@nowhere.com>
                          wrote:

                          >> Flash images are harder to save - but there are ways
                          >
                          >...the easiest being to just hit the Print Screen botton on one's keyboard.
                          >;o)
                          >
                          >-Darrel
                          >

                          ;-)))

                          I know ;o)

                          but doesn't that just save it at the standard screen resolution, i.e
                          72 to 120dpi ??


                          --

                          ~Malcolm N....
                          ~
                          • 10. Re: How to restrict image downloads?
                            Level 7
                            > but doesn't that just save it at the standard screen resolution, i.e
                            > 72 to 120dpi ??

                            It will save it at whatever pixel dimensions it appears on screen...which
                            should be the only size of the image as originally placed in the flash file
                            (unless the creators of the flash file like to waste bandwidth)

                            -Darrel


                            • 11. Re: How to restrict image downloads?
                              watercolor_gal Level 1
                              Thanks to all above for the great feedback. You've given me food for thought -- things I hadn't considered, and appreciate everyone's responses.
                              • 12. Re: How to restrict image downloads?
                                Level 7
                                On Mon, 20 Aug 2007 17:03:20 +0000 (UTC), "watercolor gal"
                                <webforumsuser@macromedia.com> wrote:

                                >Thanks to all above for the great feedback. You've given me food for thought -- things I hadn't considered, and appreciate everyone's responses.

                                Another things to consider - depending on what images you are putting
                                up.

                                Is it art / artistic photos. etc -

                                you can always compress them heavily so although they will display on
                                a computer screen ata small size - they would not print out well ?

                                --

                                ~Malcolm N....
                                ~
                                • 13. Re: How to restrict image downloads?
                                  watercolor_gal Level 1
                                  I agree, Malcolm -- that was my first line of defense - along with a watermark.
                                  • 14. Re: How to restrict image downloads?
                                    Level 7
                                    There is one absolutly positive way to prevent users from downloading your
                                    images from your web site:
                                    Don't post them there.


                                    • 15. Re: How to restrict image downloads?
                                      Level 7
                                      On Mon, 20 Aug 2007, Malcolm N_ wrote

                                      >but doesn't that just save it at the standard screen resolution, i.e 72
                                      >to 120dpi ??

                                      I assume you are referring to the Print Screen/SysRq key.

                                      "Screen resolution" is nothing to do with images or image quality and
                                      only controls the size, in pixels, of fonts on screen.
                                      The dpi setting stored in a graphics file has nothing to do with screen
                                      resolution and only determines the size of a printed image. This is
                                      explained on my site.

                                      With "print screen" screen image data is copied to the clipboard and
                                      there is no concept of dpi. The image is just a set of RGB values.

                                      Do a print screen and then open Irfanview and Paste. Irfanview Image
                                      information will show that the (print) dpi fields are empty.

                                      --
                                      Richard Mason
                                      http://www.emdpi.com
                                      • 16. Re: How to restrict image downloads?
                                        Level 7
                                        On Tue, 21 Aug 2007 11:45:55 +1200, Richard Mason
                                        <whitneyrm@xtra.co.nz> wrote:

                                        >
                                        >I assume you are referring to the Print Screen/SysRq key.
                                        >
                                        >"Screen resolution" is nothing to do with images or image quality and
                                        >only controls the size, in pixels, of fonts on screen.
                                        >The dpi setting stored in a graphics file has nothing to do with screen
                                        >resolution and only determines the size of a printed image. This is
                                        >explained on my site.

                                        Thanks Richard -
                                        --

                                        ~Malcolm N....
                                        ~
                                        • 17. Re: How to restrict image downloads?
                                          Level 7
                                          On Tue, 21 Aug 2007 11:45:55 +1200, Richard Mason
                                          <whitneyrm@xtra.co.nz> wrote:


                                          >
                                          >"Screen resolution" is nothing to do with images or image quality and
                                          >only controls the size, in pixels, of fonts on screen.
                                          >The dpi setting stored in a graphics file has nothing to do with screen
                                          >resolution and only determines the size of a printed image. This is
                                          >explained on my site.
                                          >

                                          Just had a very quick look at your site Richard.

                                          Many thanks - that looks like a good resource.

                                          Just a small point - but perhaps you could include references to
                                          millimetres rather than just the inch. After all the imperial
                                          measurement system is only used in a minority of countries, even here
                                          in Britain we are supposed to have gone metric.

                                          --

                                          ~Malcolm N....
                                          ~
                                          • 18. Re: How to restrict image downloads?
                                            Level 7
                                            On Tue, 21 Aug 2007, Malcolm N_ wrote

                                            >Just had a very quick look at your site Richard.
                                            >Many thanks - that looks like a good resource.
                                            >
                                            Thanks.

                                            >Just a small point - but perhaps you could include references to
                                            >millimetres rather than just the inch.

                                            I'm not sure what you mean here. I've used the commonly used units for
                                            the things I talk about. Expressing the Windows default so called
                                            "screen resolution" as 3.779 dpmm (dots per mm) rather than 96 dpi (dots
                                            per inch) could only add to the confusion that already exists, These
                                            are, of course, logical units and not physical units :-)

                                            In the Screen Pixels Per Inch page I've used millimetres because that's
                                            the units the Windows API uses and physically measuring a screen using a
                                            ruler scaled in millimetres is more accurate than one scaled in inches.
                                            These are, of course, physical units and not logical units :-)

                                            --
                                            Richard Mason
                                            http://www.emdpi.com