2015-02-23, 00:11
(2015-02-22, 23:27)mxlance Wrote: warning modding question follows?
i am trying to add a second background image as a smaller inset while maintaining the existing background full size behind.
see first image here: http://forum.kodi.tv/showthread.php?tid=219057
this is what i tried:
defults.xml added:
<default type="multiimage2">
<aspectratio align="center">scale</aspectratio>
<fadetime>FanartCrossfadeTime</fadetime>
<include>InsetDimensions</include>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
Includes_CommonValues.xml added:
<include name="InsetDimensions">
<left>500</left>
<top>75</top>
<width>1450</width>
<height>816</height>
Home.xml added:
<include>CommonBackground</include>
<include>InsetBackground</include>
IncludesBackgroundBuilding.xml
duplicated and repeated code and named the duplicate
<include name="InsetBackground">
changed all occurrences of
<include>FullscreenDimensions</include>
to
<include>InsetDimensions</include>
Problem: i can get one or the other to show but not both.
i can get the Fullscreen version or the Inset version but not both
what an i doing wrong?
hope my question is clear
thank you
Have you tried to remove one of the Includes and enter the code manually? If the problem is in Includes_BackgroundBuilding, it might a layers problem (one layer must be placed on top of the other). Have you put the smaller image after the fullscreen image? Also, some the code may be duplicated, which could cause a problem. I don't know that you can have dimensions for two images in two different Includes. It might use the dimensions from one image but not the other.
You might need to place each image one after the other, not within the same image tag.