Skip to main content

My new Desert Vehicle

Protect Images on your website from being copied


How to protect images on your websites from being copied. In the first video I am using some simple HTML and CSS which disables the right click copy function when a visitor is on your website. To prevent someone from having access to the right click copy function you can simply add oncontextmenu="return false" to the HTML. element that you want  to prevent from being copied. If you have multiple images in a list you can add it to the parent element so that the property is inherited to each child image. Watch the video for a full tutorial.
  Another option to prevent copying of images could be to stop the drag and drop option on the image. To do this you only need some simple HTML and CSS. For this we need a CSS rule of pointer-events: none; added to the image. This is explained in the video below. All you need is a basic understanding of HTML and CSS. 
Hopefully these two ways will help you keep your images more secure on your website


Comments

Popular posts from this blog

Cyberpunk 2077_ go to red dirt in the evening

Rumble link

Using bravenet site builder 2020

Using the free bravenet site builder which is on some hosting sites. Bravenet allows free hosting with a subdomain like wordpress and own domain with premium account. Bravenet site builder has several themes. In the video I am trying one of the themes and showing how you can edit and build a site with the site builder.

Install Pyautogui and Pip in Python

Install Pyautogui in Python The video above shows how you can easily download and install pyautogui into Python. Pyautogui is a Python library. For any python library to be installed you need to have Pip installed. Watch the video below to see how this is done. Install Pip in Python