CodeCanyon

Image beautifier

Image beautifier

Image beautifier

Image beautifier is a javascript plugin that lets you easily improve the looks of your pictures by adding very nice, mask-like effects with just a few lines of code. You can see an usage example and a demo blog post using the beautifier effects at: http://getfresh.ro/demos/ibeautifier/ .

Features:

  • up to 15 image masks
  • easily extensible
  • unobtrusive
  • easy turn on/off feature
  • simple and easy configuration
  • documentation and sample code
Usage:
<script type="text/javascript" src="beautifier.js"></script>
<script type="text/javascript">
   beautifier.add('mask0.gif', 'mask3.gif'); // you can add further masks
   beautifier.use_default = 1; // you can use a default mask, by its index
   beautifier.mask_class = 'mask'; // Or you can specify the exact mask to use, by giving the class "maskX" to the image you want
   window.onload = function() {
      beautifier.initiateMask(document.getElementById('apply-masks')); // effect applies to all pictures from #apply-masks element
   }
</script>
by
by
by
by
by
by