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

next Image component fails when using image data URI (base 64) #186

Open
ahmedelsayad11 opened this issue Jun 13, 2021 · 0 comments
Open
Labels
help wanted Extra attention is needed
Milestone

Comments

@ahmedelsayad11
Copy link
Contributor

ahmedelsayad11 commented Jun 13, 2021

Bug report

Describe the bug

When passing an image data URI to the Next.js image component an error is thrown.

To Reproduce

Pass data URI (base 64) to the Next.js image component:

Example:

Capture

The error

Capture

Additional context

we are using a function that takes an image and converts it to base 64 and then passes the base 64 string to the src of the next image component - so in my opinion, it might be because this function is asynchronous or it might be an error because of the base 64 being passed to the src attribute

Related issue

Nextjs repo

@ahmedelsayad11 ahmedelsayad11 added this to the Milestone one milestone Jun 13, 2021
@ahmedelsayad11 ahmedelsayad11 added in-progress help wanted Extra attention is needed labels Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant