Skip to content

Calling an image from absolute URL prevents Eleventy to build#410

Open
teotimepacreau wants to merge 1 commit intoKiwiKilian:mainfrom
teotimepacreau:patch-1
Open

Calling an image from absolute URL prevents Eleventy to build#410
teotimepacreau wants to merge 1 commit intoKiwiKilian:mainfrom
teotimepacreau:patch-1

Conversation

@teotimepacreau
Copy link
Copy Markdown

Eleventy > v3.1.2 is causing eleventy-plugin-og-image to crash during Eleventy build in the case where <img> in og-image.og.njk is calling an absolute URL (as required by Satory depency).
Calling a base 64 img avoids the crash

@KiwiKilian
Copy link
Copy Markdown
Owner

Thanks for your contribution. What exactly do you mean by absolute URL? Pathes to local image files? Did you see #36?

@teotimepacreau
Copy link
Copy Markdown
Author

distant URLs containing the image, as documented on the satory dependency

@KiwiKilian
Copy link
Copy Markdown
Owner

KiwiKilian commented Apr 22, 2026

Here in the comments you say it crashes, while in the added docs you talk about performance. Could you please first provide a reproduction of your issue? Then we can precisely decide, what piece of info is missing in the docs.

For me using an image from an URL works totally fine, e.g.:

<img src="https://picsum.photos/200/300" style="width: 200px; height: 300px;" />

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

Successfully merging this pull request may close these issues.

2 participants