Forum Discussion

protalan's avatar
protalan
Partner
27 days ago

Issue with Loading Images from Horizon into Noesis UI

Hi! I’ve run into an issue with passing an image to Noesis UI — I can’t figure out what format it expects. I tried ImageSource.fromTextureAsset(new Asset(item.iconAssetId)), but it still can’t display the image. Has anyone managed to load images from Horizon into Noesis UI?

4 Replies

  • Last I heard this was not supported but I have not tried this myself. 

  • I have loaded an image but it's really small and now It has a brown border around it.  I used the Noesis app studio tool.

    • gausroth's avatar
      gausroth
      Mentor

      Wait you were able to change an image inside of Horizon using a binding? Or is this an image that you added to the project in the Noesis Studio prior to bringing over to Horizon?

  • through noesis.  I'm working on doing it with Horizon tools now.  I'll check back and let you know if it works, I found some documentation so I think it is possible.  Let me paste it, let me know if it works for you if you try it.  They have a background image example:

     

    https://developers.meta.com/horizon-worlds/learn/documentation/mhcp-program/community-tutorials/cui-api-introduction

    the bkrnd is not supposed to be brown, not sure what that is.  Hoping someone will get back to me from the team, cause then I'm done with this part.