load Unsplash pictures in the navbar component (brand url)? #121
-
Hi Renaud, I see that all navbar components brand pictures in your example apps are loaded from an \assets folder. But is it possible to load single images from Unsplash? Kind regrads |
Beta Was this translation helpful? Give feedback.
Answered by
renaudpawlak
Jan 12, 2023
Replies: 1 comment 1 reply
-
As long as you have a URL (absolute URL) to your image, you should be able to use it in the brand property of the navbar. If you don't have a URL, you can encode your image as a base64 URL and paste it in the brand field. However, it is not recommended because it makes you app model heavy and disable the browser's cache capabilities. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HFolkertH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As long as you have a URL (absolute URL) to your image, you should be able to use it in the brand property of the navbar. If you don't have a URL, you can encode your image as a base64 URL and paste it in the brand field. However, it is not recommended because it makes you app model heavy and disable the browser's cache capabilities.