Search the Community
Showing results for tags 'assets'.
Hi, I'm not sure of the best way to access the assets within my widgets assets folder. For example, if I have an image that I want to display on a canvas, I can use the following: imageObj.src = "https://disraeli-bucks.frogos.net/app/file/resource/10E354602003064E38AADFB27ECC0A08B6D928AC51D3E2CA?1506677717"; To reference the image and it will display correctly. However if I use something like imageObj.src = "assets/rhino.jpg"; nothing will display. Is it necessary to use the full URL each time or am I being a bit daft?