1.2.6 • Published 4 years ago

contentful-image-optimiser v1.2.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago
This will return an image with it's width set to match the browser window width. It will also
automatically change it's format to WebP if supported

<img src="setAutoWidth(/imageURL.png)">

<hr>

This will return an image with a specified width

<img src="setFixedWidth(/imageURL.png, 350)">

<hr>

This will return an image with a specified height

<img src="setFixedHeight(/imageURL.png, 500)">

<hr>

This will return an image with a specified height and width

<img src="setHeightWidth(/imageURL.png, 500, 500)">

Link to repo

$ npm i contentful-image-optimiser

This project is licensed under the MIT License

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago