@makeform/image

1.1.2 • Public • Published

@makeform/image

image upload widget that extends @makeform/upload widgets to show image preview

Config

  • crop: an object with following fields:
    • enabled: default false. when true, crop image based on ratio derived from width / height below.
    • width: expected image width.
    • height: expected image height.
  • lightbox: an object with following fields:
    • enabled: default true. when true, toggle a lightbox for image preview when clicking on image.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @makeform/image

Weekly Downloads

74

Version

1.1.2

License

MIT

Unpacked Size

7.57 kB

Total Files

5

Last publish

Collaborators

  • tkirby