imagewizard

1.0.2 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i imagewizard

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

2.96 kB

Total Files

3

Last publish

Collaborators

  • nishantsolanki