Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open images with more than 100kb in src property #104

Open
BrunoBudelRossi opened this issue Oct 3, 2022 · 4 comments
Open

Can't open images with more than 100kb in src property #104

BrunoBudelRossi opened this issue Oct 3, 2022 · 4 comments
Labels

Comments

@BrunoBudelRossi
Copy link

BrunoBudelRossi commented Oct 3, 2022

Uncaught ReferenceError: n is not defined
at v (react-avatar.js:1:36132)
at f (react-avatar.js:1:34914)
at react-avatar.js:1:32296
at i3 (react-avatar.js:1:32330)
at FileReader.onload (react-avatar.js:1:34317)

@BrunoBudelRossi BrunoBudelRossi changed the title Can't open images with more than 100kb Can't open images with more than 100kb in src property Oct 3, 2022
@afgprogrammer
Copy link

@kirill3333 bro, can you suggest a way to fix this?

@kirill3333 kirill3333 added the bug label Nov 26, 2022
@Alex-Github-Account
Copy link

somehow for me it works with >100kb, was it fixed but issue still opened?

@Alex-Van-Dijck
Copy link

Don't think it's the library itself causing that error. I'm also investigating it atm.

@Alex-Van-Dijck
Copy link

Update: the error is in the exif-js library being used.
It has a variable that isn't being declared which strictmode doesn't like.
exif-js/exif-js#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants