Hi
To avoid copying images In MyBB forums and various sites (Drag & Drop and right-click) way to do that would be to use.
Note: This is done with jQuery and if you have a lot headerinclude script may cause the script to disable them or do not have the script is good for the forums.
First you must create a Mycode.
Title *
Regular expression *
Replacement *
Enabled? Yes
Well half way, where you put the image code below to put the image
you must see below code in your source
well done . insert the following scripts into headerinclude before {$ stylesheets}
In the last step, Upload the files that are included in zip file into the jscripts folder and blank.gif image into images folder.
What happens with these things, if anyone on the site, right click the image and select copy image location or Drag & drop images in your site just can give blank.gif image . For image copy is a lot of work but it is one way to prevent the theft of high-quality images.
imageprotector.zip (Size: 30.41 KB / Downloads: 248)
To avoid copying images In MyBB forums and various sites (Drag & Drop and right-click) way to do that would be to use.
Note: This is done with jQuery and if you have a lot headerinclude script may cause the script to disable them or do not have the script is good for the forums.
First you must create a Mycode.
Title *
Image protector
Short DescriptionA way to protecting your images
Regular expression *
\[imgclass=(.*?)](.*?)\[\/imgclass\]
Replacement *
< img src = "$2" class = "$1" />
Enabled? Yes
Well half way, where you put the image code below to put the image
[ imgclass = protect ] your image address [/ imgclass ]
you must see below code in your source
< img src = "your image address" class= "protect" />
well done . insert the following scripts into headerinclude before {$ stylesheets}
< script type = "text/javascript" src = "{$mybb->settings['bburl']}/jscripts/jquery-1.2.6.js" > </script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.dwImageProtector.js"></script>
<script type="text/javascript">
$(window).bind('load', function() {
$('img.protect').protectImage();
});
</script>
In the last step, Upload the files that are included in zip file into the jscripts folder and blank.gif image into images folder.
What happens with these things, if anyone on the site, right click the image and select copy image location or Drag & drop images in your site just can give blank.gif image . For image copy is a lot of work but it is one way to prevent the theft of high-quality images.
imageprotector.zip (Size: 30.41 KB / Downloads: 248)