Req Code to show an image from a tag
#1
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
Reply
#2
Noboby? Or can't be done?

Sad
Reply
#3
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.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#4
Nice one!
Reply
#5
(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!!
Reply

Logout Mark Read Team Forum Stats Members Help
Code to show an image from a tag0