blowup
v1.0.2
Published
A jQuery plugin for customizable image magnification.
Downloads
529
Readme
blowup.js
A jQuery plugin for customizable image magnification.
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"
})