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

Error: t is undefined when using base64-encoded image as background-image #609

Open
axeleroy opened this issue Apr 8, 2024 · 0 comments

Comments

@axeleroy
Copy link

axeleroy commented Apr 8, 2024

Bug report

Description / Observed Behavior

I try to use a picture as background for OpenGraph images in Next.js though next/og's ImageResponse. Because of limitations when using the Node runtime for SSG, I tried using a base64-encoded image. I then encountered TypeError: a is not iterable. When I went to reproduce the issue on Satori's playground, I got another error: t is undefined.

Expected Behavior

Background should be shown as bellow:

image

Source

Reproduction

I had to past the URL in a Gist because it's too long and it hit GitHub's body limit 😓

https://gist.github.com/axeleroy/3817fab16f6e6b41769585bee045753b

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

No branches or pull requests

1 participant