Fixes an issue with CSS border-radius and images where border-radius isn't displayed on the images.
http://www.webdesignerwall.com/tutorials/css3-rounded-image-with-jquery/
It also optionally hooks into several DOM events to allow persistent image fixing ie. if you insert a new image tag it will automatically fix it if required or if you change the style, class or the id attribute and the image is now being rounded it will fix it.
Example 1:
$('body').prepend('<img class="rounded" src="img.jpg" />'); //This works
$.roundImages(); //Round all images that exist at this time
$('body').prepend('<img class="rounded" src="img.jpg" />'); //This wont work because its not set to persistent
Example 2:
$('body').prepend('<img class="rounded" src="img.jpg" />'); //This works
$.roundImages(true); //Round all images that exist at this time + are created/modified in the future
$('body').prepend('<img class="rounded" src="img.jpg" />'); //This works now
$('img#someImage').css('border-radius', '50px'); //This also works
Example 3:
$('img#someRoundImage').roundImages();
//img#someRoundImage will now be rounded, there is no persistent setting when using it like this