imagewizard
v1.0.2
Published
Get best image thumbnail
Downloads
3
Readme
Imagewizard
Get the best image thumbnail using imagewizard pkg.
Installation
`npm i imagewizard --save
` Then after
// IF NOT WORKING YOU NEED TO : browserify npm package
const imagewizard = require('imagewizard');
// This is below syntax is madotary otherwise some error throwing (:
imagewizard.imagewizard({
img_size:'responsive',
img_type: 'soft',
boder_type: 'solid',
border_color: 'black',
padding: false
});
Then...
Add the shadowizard class to the element you want a shadow add to.
<img src="image.jpg" class="imagewizard">
Options
Imagewizard support 4 options, Here we go!:
img_size: size in px,%,viewport units | responsive (Default: responsive);
img_type - hard | soft (Default: soft)
border_type - solid | dotted | dashed (Default: solid)
border_color - any color (Default: black)
padding - boolean (Default: false)