JQuery plug-in that replaces img tags with divs to prevent easy download. It only works with img tags and not type="image".
I am guessing someone out there wants to make scraping their site more difficult. So, this was my solution.
Yes. That is correct. However, this plugin was made to make it harder not impossible to scrape images.
You can use any selector to grab the img elements that you want nograb to be applied to.
For example
Let's say you want to apply nograb to the following:
<img id='profile-pic' src="somepic.jpg" >
Your selector can be:
$('#profile-pic').nograb();
If you don't want to use a class, you can apply the 'nograb' markup attribute like the following example.
<img nograb src="somepic.jpg" >
Then, you can call either of the following:
$.nograb();
Or
$('img[nograb]').nograb(); ///More explicit but not needed because of the above example.
JSFIDDLE example: http://jsfiddle.net/jfhw7/