2012-03-23, 13:34
I'm currently skinning this for Breeze but have run into a problem...
If there is no icon for a film in the actors filmography it is automatically filled with DefaultMovies.png, meaning my fallback image doesn't work (as Container(150).Listitem.Icon is never returned as empty). This is what my code looks like...
And if there is no icon it looks like...
The only way to make it use the fallback image is if I rename DefaultMovies.png, but then i use that in other part of my skin. Is there a reason why it seems to automatically fall back on that image?
If there is no icon for a film in the actors filmography it is automatically filled with DefaultMovies.png, meaning my fallback image doesn't work (as Container(150).Listitem.Icon is never returned as empty). This is what my code looks like...
PHP Code:
<control type="image"> <!--film cover-->
<description>Actor image</description>
<posx>32.5</posx>
<posy>32.5</posy>
<width>372</width>
<height>556</height>
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="DefaultVideoBigPoster.png" diffuse="breeze/home/folder tile dif.png">$INFO[Container(150).Listitem.Icon]</texture>
<visible>Control.IsVisible(150)</visible>
</control>
<control type="image"> <!--film cover-->
<description>Actor image</description>
<posx>32.5</posx>
<posy>32.5</posy>
<width>372</width>
<height>556</height>
<texture diffuse="breeze/home/folder tile dif.png">DefaultVideoBigPoster.png</texture>
<visible>Control.IsVisible(150) + IsEmpty(Container(150).Listitem.Icon)</visible>
</control>
And if there is no icon it looks like...
The only way to make it use the fallback image is if I rename DefaultMovies.png, but then i use that in other part of my skin. Is there a reason why it seems to automatically fall back on that image?