Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

ImageUploader not parsing images extending ~320kB #189

Open
kczan opened this issue Sep 10, 2020 · 0 comments
Open

ImageUploader not parsing images extending ~320kB #189

kczan opened this issue Sep 10, 2020 · 0 comments

Comments

@kczan
Copy link

kczan commented Sep 10, 2020

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}
    />
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant