image upload widget that extends `@makeform/upload` widgets to show image preview
npm install @makeform/imageimage upload widget that extends @makeform/upload widgets to show image preview
- 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.
MIT