Replies: 1 comment 2 replies
-
Does this help you? An idea. Storing images to AppDirectory, then reading them as base64 and assign to Image.Source? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an application with many images shown in a BlazorWebView, the images are fetched during runtime and are not present when the app is built. For offline functionality I need to show Images even if there is no internet connection.
Currently I generate base64 data urls for the images and store them locally, for just a few images the performance is okayish with this approach, but as more and more images are displayed performance drops significantly. Is there a way to write files to wwwroot and use the local url for the image tag src instead of the base64 data url - the contents of wwwroot is probably part of the app bundle, right?
👀 @Eilon
curious if anyone has run into a similar problem.
thanks
Thank you
Beta Was this translation helpful? Give feedback.
All reactions