0.1.9 • Published 6 years ago

@nmacarthur/imageboy v0.1.9

Weekly downloads
18
License
MIT
Repository
-
Last release
6 years ago

ImageBoy

Imageboy takes your images and wraps them in a container that resizes nicely.

Installation

npm install @nmacarthur/imageboy

Usage

After including the file, run imageboy() to replace your images.

<img data-replace src="..." alt="..." />

The data-replace tag will place the image within the responsive container.

The default ratio is 16 / 9.

<img data-replace data-ratio="1/1" src="..." alt="..." />

Adding the ratio tag will set the ratio on the image container

<img class="className" data-replace src="..." alt="..." />

Classes that are added to the image will be placed on the parent component.

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago