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

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 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

2 participants