Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Do all images need to be base64 embedded? #5

Closed
fabioparra opened this issue Jun 13, 2024 · 2 comments
Closed

Do all images need to be base64 embedded? #5

fabioparra opened this issue Jun 13, 2024 · 2 comments

Comments

@fabioparra
Copy link

Hi @RickStrahl, I tested your examples with loading an image from an https URL, but the image did not load. Do you have any idea why? It seems that images are only loaded with src="data:image/png;base64,...

@RickStrahl
Copy link
Owner

RickStrahl commented Jun 20, 2024

How big is your embedded data? There's a bug in the WebView control that if the embedded data is larger than 2mb it won't render.

MicrosoftEdge/WebView2Feedback#4251 (related)

This limit applies for a number of things not just image embedding but also for string navigation and POST buffer capture.

@RickStrahl
Copy link
Owner

Closing since no response.

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

No branches or pull requests

2 participants