Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Restrict User To Copy Image

Restrict User To Copy Image

Scheduled Pinned Locked Moved ASP.NET
question
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    V 2
    wrote on last edited by
    #1

    Hi I have developed a site related to Art in which artist can add thier art or paintings 4 sell. So how can i restrict user to direct copy image using right click n select Save Picture AS option..... Thanks with anticaptions :laugh:

    Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

    M I D 3 Replies Last reply
    0
    • V V 2

      Hi I have developed a site related to Art in which artist can add thier art or paintings 4 sell. So how can i restrict user to direct copy image using right click n select Save Picture AS option..... Thanks with anticaptions :laugh:

      Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

      M Offline
      M Offline
      Masood Kochi SSF
      wrote on last edited by
      #2

      //This code disable the right click property of the webpage function Disable() { if (event.button == 2) { alert("This action is not possible") } } document.onmousedown=Disable;</x-turndown>

      V 1 Reply Last reply
      0
      • M Masood Kochi SSF

        //This code disable the right click property of the webpage function Disable() { if (event.button == 2) { alert("This action is not possible") } } document.onmousedown=Disable;</x-turndown>

        V Offline
        V Offline
        V 2
        wrote on last edited by
        #3

        Thanks a lottttt 4 ur great suggestion n 4 ur quick response

        Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

        1 Reply Last reply
        0
        • V V 2

          Hi I have developed a site related to Art in which artist can add thier art or paintings 4 sell. So how can i restrict user to direct copy image using right click n select Save Picture AS option..... Thanks with anticaptions :laugh:

          Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          ~V~ wrote:

          So how can i restrict user to direct copy image using right click n select Save Picture AS option.....

          You can also use this script.

          function BlockRightClick()
          {
          document.oncontextmenu=new Function("return false");
          }

          call on body unload event this script supports on all browser. regard Imrankhan

          please don't forget to vote on the post that helped you.

          V 1 Reply Last reply
          0
          • I Imran Khan Pathan

            ~V~ wrote:

            So how can i restrict user to direct copy image using right click n select Save Picture AS option.....

            You can also use this script.

            function BlockRightClick()
            {
            document.oncontextmenu=new Function("return false");
            }

            call on body unload event this script supports on all browser. regard Imrankhan

            please don't forget to vote on the post that helped you.

            V Offline
            V Offline
            V 2
            wrote on last edited by
            #5

            Thanks this is also very nice...

            Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

            1 Reply Last reply
            0
            • V V 2

              Hi I have developed a site related to Art in which artist can add thier art or paintings 4 sell. So how can i restrict user to direct copy image using right click n select Save Picture AS option..... Thanks with anticaptions :laugh:

              Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...

              D Offline
              D Offline
              Declan Bright
              wrote on last edited by
              #6

              Using javascript to prevent someone from using the Save Picture As option will stump most people but it is very easy to get around if someone really wants to get an image. You should also watermark the images as it is quite difficult to remove a watermark successfully.

              Declan Bright www.declanbright.com

              S 1 Reply Last reply
              0
              • D Declan Bright

                Using javascript to prevent someone from using the Save Picture As option will stump most people but it is very easy to get around if someone really wants to get an image. You should also watermark the images as it is quite difficult to remove a watermark successfully.

                Declan Bright www.declanbright.com

                S Offline
                S Offline
                sumit7034
                wrote on last edited by
                #7

                how can i watermark the images

                I O 2 Replies Last reply
                0
                • S sumit7034

                  how can i watermark the images

                  I Offline
                  I Offline
                  Imran Khan Pathan
                  wrote on last edited by
                  #8

                  sumit7034 wrote:

                  how can i watermark the images

                  Visit My blog regard Imrankhan

                  please don't forget to vote on the post that helped you.

                  1 Reply Last reply
                  0
                  • S sumit7034

                    how can i watermark the images

                    O Offline
                    O Offline
                    only coding
                    wrote on last edited by
                    #9

                    Recommend Mytoolsoft Batch Watermark, Very easy to use. http://www.mytoolsoft.com

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups