Kodi Community Forum

Full Version: backdrop images in background for menu items
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
find the line for menu item
<control type="group" id="5000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),movies)</visible>

add this after
<control type="group" id="5000">
<control type="image">
<top>-100</top>
<left>-60</left>
<width>1520</width>
<height>1080</height>
<texture>special://skin/extras\home-images\movie.jpg</texture>
</control>
     
extras\home-images has 2 images in it movie and music you will need to find the rest
<visible>String.IsEqual(Container(9000).ListItem.Property(id),movies)</visible>
Image
Looks interesting but I don't understand how to do it, need more information, file names etc.
Thanks
you need to edit home.xml find the lines <control type="group" id=""> <visible>String.IsEqual(Container(9000).ListItem.Property(id),
<control type="group" id="11000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>
then add the image code

  <control type="image">
    <top>-100</top>
    <left>-60</left>
    <width>1520</width>
    <height>1080</height>
    <texture>special://skin/extras\home-images\video.jpg</texture>
    </control>
you will need a picture in extras home-images (video.jpg)
and it looks like this
<control type="group" id="11000">
     <control type="image">
    <top>-100</top>
    <left>-60</left>
    <width>1520</width>
    <height>1080</height>
    <texture>special://skin/extras\home-images\video.jpg</texture>
    </control>
     <visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>

<control type="group" id="12000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),livetv)</visible>

<control type="group" id="13000">
     <control type="image">
    <top>-100</top>
    <left>-60</left>
    <width>1520</width>
    <height>1080</height>
    <texture>special://skin/extras\home-images\radio.jpg</texture>
    </control>
     <visible>String.IsEqual(Container(9000).ListItem.Property(id),radio)</visible>
Thanks for that, much easier to understand, looks good!
there is a error in this it will cover up fanart posters
i have worked out a new way that will let the fanart show

<control type="image">
     <left>0</left>
     <right>0</right>
     <top>0</top>
     <height>100%</height>
     <fadetime>300</fadetime>
     <texture border="2" fallback="special://skin/extras/home-images/test2.gif" background="true">$VAR[FanartImageVar]</texture>
     <aspectratio align="center" aligny="bottom">scale</aspectratio>



now for some thing different gif backdrops
https://yandex.com/collections/card/59a4...11beac43d/
save image to same folder

<control type="image">
     <left>0</left>
     <right>0</right>
     <top>0</top>
     <height>100%</height>
     <fadetime>300</fadetime>
     <texture border="2" fallback="special://skin/extras/home-images/orig.gif" background="true">$VAR[FanartImageVar]</texture>
     <aspectratio align="center" aligny="bottom">scale</aspectratio>
    </control>