react-images-upload icon indicating copy to clipboard operation
react-images-upload copied to clipboard

ImageUploader not parsing images extending ~320kB

Open kczan opened this issue 5 years ago • 0 comments

Don't really know what might cause that. maxFileSize has been set for about 50MB. I upload my images directly to AWS S3. When using different file uploaders, images of any size are being transferred to S3.

I can see the proper image in the preview field. Console logging the object shows correct data of image.

I'd be very grateful for any tips.

Copmonent I'm rendering looks like that:

<ImageUploader
      {...props}
      withIcon={false}
      onChange={handleImage}
      imgExtension={[".jpg", ".png", ".jpeg"]}
      maxFileSize={52428800}
      className={fieldClass}
      label={"Max file size: 5MB."}
      buttonText={"Choose image"}
      withPreview={true}
    />

kczan avatar Sep 10 '20 15:09 kczan