We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47717
    • 144 Posts
    Hi,

    I want to make a site, which has lots of nice, copyrighted images.

    There will be full screen image backgrounds, thumbs and popup-galleries.

    Is there an addon for modx, that prevents people from:
    - rightclicking on image to copy it
    - diving in de source code to get the source image and retrieve it (I see that Google has done this, when you try to see the source code of an image, it's like javascript and scrambled)µ


    Thanks !! :-O
      • 47401
      • 295 Posts
      the prevention of right click can be done in javascript

      you can add an overlay to images i believe using phpthumbof with copyright infringement text or a transparent logo
        • 9995
        • 1,613 Posts
        best thing you might do is add a copyright watermark.
        not sure but it might be possible to do with pthumb / phpthumb for Revolution?!

        https://forums.modx.com/thread/50634/watermark-in-revolution
          Evolution user, I like the back-end speed and simplicity smiley
          • 47401
          • 295 Posts
          javascript code for disable right click

          $(document).bind("contextmenu", function (e) {
                  e.preventDefault();
                  alert("Right Click is Disabled");
              });
            • 20413
            • 2,877 Posts
            With some modifications to Image+ it can be used to add a watermark.
            Example: http://washingtonrags.com/ragdolls/gabriel-ragdoll-kitten-for-sale.html
              @hawproductions | http://mrhaw.com/

              Infograph: MODX Advanced Install in 7 steps:
              http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

              Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
              http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
              • 42562
              • 1,145 Posts
              The internet is public domain, even your private emails.

              I would not hang my wallet and travel passport on a community clothes line.

              Watermark is your best bet: to ruin the actual image.

              Disabling Right-click is utterly useless.

              You can spend some money to get someone to scramble your source code.
                TinymceWrapper: Complete back/frontend content solution.
                Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
                5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
                • 19975
                • 429 Posts
                Unfortunately, there is little you can do to stop someone taking your images, watermarks can be removed, and users can use screenshot to take images.

                But you can also easily find images which have been copied by using Google's image search https://www.google.com/imghp?hl=en&tab=wi&authuser=0 .

                Make sure that you have T&Cs on your site.
                  Martin Sanders - Design & Web Development
                  • 47717
                  • 144 Posts
                  Quote from: comp_nerd26 at Oct 29, 2015, 10:47 AM
                  javascript code for disable right click

                  $(document).bind("contextmenu", function (e) {
                          e.preventDefault();
                          alert("Right Click is Disabled");
                      });


                  Hi,

                  Thanks for this great tip !

                  Seems like this was too easy for your nerdy skills.

                  So is it possible, that while the visitor is on the website, to "block" the "printsceen button" with a alert-message "do not steal my property (or call my lawyer)" :p

                  thanks !
                    • 18373 ☆ A M B ☆
                    • 3,141 Posts
                    The fact the user can see the image on their screen, means there is a way for them to get access to it. Screenshots aren't just made with print screen, copying is not just done with right click and the page source is accessible to the browser, which means there is a way that can be inspected through browser tools.

                    It's harsh, but if you put an image online, you will not be able of preventing people from accessing that completely. The only thing you're doing is annoying your users.

                    Marketoonist takes a very nice approach to showing their bespoke cartoons. Rather than annoying their visitors, there's a clearly visible License button that lets you instantly purchase a license to use the image for specific situations. Here's an example: https://marketoonist.com/2015/11/banner-ads.html

                    People can still copy the image, but it's insanely easy to purchase the license, turning a problem ("people might steal my property") into a positive revenue stream ("people might buy a license").
                      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                      • 47717
                      • 144 Posts
                      Quote from: markh at Nov 04, 2015, 08:14 AM
                      The fact the user can see the image on their screen, means there is a way for them to get access to it. Screenshots aren't just made with print screen, copying is not just done with right click and the page source is accessible to the browser, which means there is a way that can be inspected through browser tools.

                      It's harsh, but if you put an image online, you will not be able of preventing people from accessing that completely. The only thing you're doing is annoying your users.

                      Marketoonist takes a very nice approach to showing their bespoke cartoons. Rather than annoying their visitors, there's a clearly visible License button that lets you instantly purchase a license to use the image for specific situations. Here's an example: https://marketoonist.com/2015/11/banner-ads.html

                      People can still copy the image, but it's insanely easy to purchase the license, turning a problem ("people might steal my property") into a positive revenue stream ("people might buy a license").

                      Yeah, you're right.

                      People can always see the image in the source code.

                      But preventing "right-click" and "save as", will diminish the likelihood of stealing with 60%, as most basic users don't know source code.

                      People tend to choose "the way of least resistance", so when it's complicated to get the image, they will bounce (for some part).

                      It's like having your front door open : an open door will tempt a Saint to steal something.
                      But if you close your front door, they also can enter you house, but it's more complicated and difficult, so the chance are heavily reduced. Do you feel me ?


                      The code-scrambling seems a good solution (as I've seen with Google Apps etc), but I am not sure if this is possible with Modx ?

                      regards