Kodi Community Forum

Full Version: Code to show an image from a tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all!

Wanna ask somenthing that I believe it's possible:

Let's say that I have a image inside textures.xbt called "image.png", and I have a item in kodi with a tag in .nfo called <tag>test image</tag>. This item is not an movie/serie/music.
In the skin, when I give focus on this item, it show a text tag "test image" provide from my .nfo using the code <label>$INFO[ListItem.Property(tag)]</label>
But I wanna to link this tag to this image.png, to show a image in place of text. 

It's possible? If yes, can someone give me directions?

thanks in advance
Noboby? Or can't be done?

Sad
Code:
<variable name="TagImage">
..
<value condition="String.IsEqual(ListItem.Property(tag),test image)">tagimages/my-test-image.png</value>
...
</variable>

Then use the $VAR[TagImage] as texture for a image.
Nice one!
(2018-02-09, 13:24)sualfred Wrote: [ -> ]
Code:
<variable name="TagImage">
..
<value condition="String.IsEqual(ListItem.Property(tag),test image)">tagimages/my-test-image.png</value>
...
</variable>

Then use the $VAR[TagImage] as texture for a image.
Many many thanks!!