Dynamic Image in Script

Has anyone managed to have an Image (Logo) displayed in a script based on a variable

So if Brand is 1 then use this url and if Brand is 2 then use this url etc ?

I have the images shared as public and the url would be the shared link

We have Brand set as Participant Data in the call

Any help would be appreciated

You could put both images next to each other in a stack panel. And then just set the visibility under layout to some dynamic boolean called PublicBrandLogoVisibility which is set to Brand == 1 for example.

So when the page load if Brand is 1 then that is the logo that will be visible, if Brand == 2 it won't and some other image with right visibility will be