Closed theurbanforrest closed 4 years ago
ImageCropper
component as standalone. Future: can bring this in via Overlay on ThreadDynamic
Sandbox
component to test this on -- can also use this as a place to test new things without ruining other codereact-image-crop
works great. Able to set the required aspect ratio (16:9 , 2:3 , 1:1).threadUid
to ImageCropper via propsSolved rotation problem based on https://github.com/DominicTobias/react-image-crop/issues/181
Needed to reference loadImage() as window.loadImage() to make it work.
Issue re: how to solve for image quality loss in crop. i.e. omit the image/jpeg
param: https://github.com/DominicTobias/react-image-crop/issues/263
threadUid
and thread
to ImageCropper via propsThreadDynamic
which manages state of modal visibilityImageUpload
- will keep in archives for future (i.e. PDF uploads)Good enough for now... will look into the Still To Do's in the future when business requires it. This is Done!
Look into https://github.com/DominicTobias/react-image-crop#example