Kodi Community Forum
hard code image in skin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: hard code image in skin (/showthread.php?tid=319656)



hard code image in skin - nero12 - 2017-08-09

Hi on holiday so playing around with confluence skin. learning how the skinning work. i try to do small changes like hardcode an image to a addonitem

<item>
<label>copied a url from favourite and it works great</label>
<onclick>RunAddon($INFO[Skin.String(HomeVideosButton3)])</onclick>
<icon>HOW CAN I HARDCODE ICON ?</icon>
<thumb>-</thumb>
<visible>(removd the "!" and it now appear at al time. great)</visible>
</item>



any help is appreciated.

thank you.


Idea is to hardcode all my custom features to skin and take backup of 720p. i dont like estuary skin, and confluence will not get any updates, so i might as well start skinning myself Smile


RE: hard code image in skin - Hitcher - 2017-08-09

Confluence is getting updated regularly.


RE: hard code image in skin - nero12 - 2017-08-09

i still like to know how to do this, do you know ?


RE: hard code image in skin - Hitcher - 2017-08-09

If you put it in the media folder then just its name and extension.


RE: hard code image in skin - nero12 - 2017-08-09

that does not work Sad

i added: tube.png to addons/skin.confluence/media/

and in the xml file i typed: tube.png


no luck Sad


RE: hard code image in skin - nero12 - 2017-08-10

Anyone that can helpHuh??

Spend two days on this....


RE: hard code image in skin - smitchell6879 - 2017-08-10

If u did another said then u add the thumb nail but u will not see it in less you can see thumbnails for all other menu items.

If you just trying to add a image the read the skinning manaul and add a image control.


RE: hard code image in skin - nero12 - 2017-08-10

i dont understand your message,

but i found a work around

just create fake plugins and enable them Smile and only hardcode the url in xml. that did the trick. it is much more complicated approach but it works.


RE: hard code image in skin - nero12 - 2017-08-10

found it, for anyone else that looking for help, its this code:
<icon>special://skin/backgrounds/weather.jpg</icon>