You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The error
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
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:
The error
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
The text was updated successfully, but these errors were encountered: