Using cordova plugin ThemeableBrowser, how can I use resource imgs on it?

Hey,

Wondering if anyone crossed this problem yet,

So, I am using the Themeable browser cordova plugin, afaik there's no forge component for it, so I just imported it.


Everything works fine, expect the images on the buttons

 backButton: {
        image: 'back',
        imagePressed: 'back_pressed',
        align: 'left',
        event: 'backPressed'
    },

it uses this to detail the buttons, or this

backButton: {
        wwwImage: 'images/back.png',
        wwwImagePressed: 'images/back_pressed.png',
        wwwImageDensity: 2,
        align: 'left',
        event: 'backPressed'
    }

I'm wondering how can i use any of them, I have the images in the images folder and in the resources folder, the image is called "back".



So how can i use this image in the button?

Hi Fábio,


I'm unfamiliar with this plugin, but typically those resources would be available using the Runtime Path shown in your picture:

backButton: {
   wwwImage: '/TesteInAppTheme/back',
   wwwImagePressed: '/TesteInAppTheme/img/TesteInAppTheme.back.jpg'
}


If this isn't working, you can try using the full server name, but this will likely download the image on every new page:

backButton: {
   wwwImage: 'https://example.outsystems.com/TesteInAppTheme/back',
   wwwImagePressed: 'https://example.outsystems.com/TesteInAppTheme/img/TesteInAppTheme.back.jpg'
}


In any case, it's been a while since your post - were you able to solve the issue?

If so, how?