|Views Total:||2,975 views|
|Official Page:||Go to website|
|Last Update:||November 6, 2015|
The goal is to load and render nicely blurred micro images on the page while loading full sized images in background which replace as they finish.
How to use it:
Add an image into your document and use data-antimoderate-idata attribute to specify the blurred image encoded in Base64.
<img class="antimoderate" id="demo" data-antimoderate-scale="1" data-antimoderate-idata="data:image/jpg;base64, ..." >
Active the AntiModerate.
var img = document.getElementById('demo'); AntiModerate.process(img, img.getAttribute("data-antimoderate-idata"));