Blowup.js
🔍 jQuery plugin for image magnification.
Install / Use
/learn @paulkr/Blowup.jsREADME
blowup.js
A jQuery plugin for customizable image magnification.
<img src="https://raw.githubusercontent.com/paulkr/blowup.js/gh-pages/blowup.png" width="500" />Usage
You can install blowup through npm:
$ npm install blowup
or through bower:
$ bower install blowup
Alternatively, download the package and reference the blowup.js file in your HTML file.
Ensure you have included the latest stable jQuery version before including blowup.js.
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="lib/blowup.js"></script>
Then, apply the blowup effect to your image.
$(document).ready(function () {
$("img").blowup();
})
Configuration Parameters
Listed are the customization options that blowup.js allows.
Example
$("img").blowup({
"background" : "#F39C12",
"width" : 250,
"height" : 250,
"customClasses" : "class1 class2"
})
