Page 1 of 1

XamlToy - Unable to Reference Image

Posted: 18 Nov 2022, 18:24
by stonstad
Is there a trick to showing images in a XAMLToy gist?

I get errors similar to the following when setting Image.Source.
<Image Source="https://someurl.jpg"></Image>
all-57b5c051be.js:1 
       [NOESIS/E] <memory>(11): Image not found 'https://someurl.jpg'

Re: XamlToy - Unable to Reference Image

Posted: 18 Nov 2022, 19:17
by stonstad
OK, I got one step further using a local gist file, which required git command line access. So many steps! But now I see this error:
[img]all-57b5c051be.js:1 
       [NOESIS/E] Error loading 'cosmos.png', using fallback texture[/img]

Re: XamlToy - Unable to Reference Image

Posted: 23 Nov 2022, 10:44
by jsantos
The workflow for adding extra resources to XamlToy is far from ideal. We have plans to improve this at some point.

Thanks for the ticket! (#2465)