2012-01-19, 13:11
Hi!
I have an URL of a logo set in a variable
and use this variable to display an image.
Now I want to display a label if the image does not exist.
How do I achieve that? I did not find anything in the wiki that would fit my needs..
Edit:\ I already have the image showing up and the label too. I just need that visibilty-part. I already tried to check for !$VAR[TVShowLogoVar] but this is a dead end
I have an URL of a logo set in a variable
Code:
<variable name="TVShowLogoVar">
<value condition="Container.Content(tvshows)|Container.Content(seasons)">$INFO[ListItem.path,,logo.png]</value>
<value condition="Container.Content(episodes)">$INFO[ListItem.path,,../logo.png]</value>
<value condition="Container.Content(movies)">$INFO[ListItem.Path,,logo.png]</value>
</variable>
and use this variable to display an image.
Now I want to display a label if the image does not exist.
How do I achieve that? I did not find anything in the wiki that would fit my needs..
Edit:\ I already have the image showing up and the label too. I just need that visibilty-part. I already tried to check for !$VAR[TVShowLogoVar] but this is a dead end