Skin.SetLargeImage
#1
Now I am working on my custom games section, also I have trouble with custom fan art image.
Till now I was made this command in my games xml,in Includes.xml I was put this command.
Now do I need to make every time different <include name="LargeImage"> for each App String or can I display fanart in a different way, something like compare string.I apologize if I did not explain in the best way.



Quote: <item id="2">
<thumb>$INFO[Skin.String(App2image)]</thumb>
<label> $INFO[Skin.String(App2name)]</label>
<onclick condition="!Skin.String(App2location)">Skin.SetImage(App2image)</onclick>
<onclick condition="!Skin.String(App2location)">Skin.SetLargeImage(App2LargeImage)</onclick>
<onclick condition="!Skin.String(App2location)">Skin.SetString(App2name)</onclick>
<onclick condition="!Skin.String(App2location)">Skin.SetFile(App2location)</onclick>
<onclick condition="Skin.String(App2location)">special://skin/system/0300030/App2.py</onclick>
</item>

Quote: <include name="LargeImage">
<control type="image">
<description>Games Fanart</description>
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture>$INFO[Skin.String(App2LargeImage)]</texture>
<aspectratio>scale</aspectratio>
<visible>Window.IsVisible(65)+Container(3).HasFocus(2)</visible>
</control>
</include>
Reply
#2
PHP Code:
<variable name="LargeImageVar">
    <
value condition="Window.IsVisible(65)+Container(3).HasFocus(2)">$INFO[Skin.String(App2LargeImage)]</value>
    
etc
</variable>

<include 
name="LargeImage">
    <
control type="image">    
        <
description>Games Fanart</description>
        <
posx>0</posx>
        <
posy>0</posy>
        <
width>1920</width>
        <
height>1080</height>
        <
texture>$VAR[LargeImageVar]</texture
        <
aspectratio>scale</aspectratio>    
    </
control>
</include> 
Reply
#3
Smile 
Hello Hitcher

This works perfectly, thank you so much for the help.

Best Regards
Reply

Logout Mark Read Team Forum Stats Members Help
Skin.SetLargeImage0