-
Notifications
You must be signed in to change notification settings - Fork 4
Smart Image Controls
Armand Pondman edited this page May 13, 2014
·
13 revisions
By adding image controls to the skin you can control additional artwork requests. Currently all the controls that have MediaBrowser.Image. as a prefix in the description will be handled by the plugin. Use "Default" as the fallback image. The width and height will be honored and the artwork will be requested and cached in the dimensions you specify. The item type suffix will allow skinners to use different image controls for specific items. You can use skin expressions to show/hide these controls in your design based on other available properties.
as a fourth parameter the type of the image can be specified,
- Primary
- Art
- Banner
- Logo
- Thumb
- Disc
- Box
- Screenshot
- Menu
- BoxRear
Examples
<control>
<type>image</type>
<description>MediaBrowser.Image.Default</description>
<width>379</width>
<height>563</height>
<texture>#My.Texture.Identifier</texture>
</control>
<control>
<type>image</type>
<description>MediaBrowser.Image.Movie.Primary</description>
<width>379</width>
<height>563</height>
<texture>#My.Texture.Identifier</texture>
</control>
<control>
<type>image</type>
<description>MediaBrowser.Image.Movie.Art</description>
<width>1000</width>
<height>572</height>
<texture>#My.Texture.Identifier</texture>
</control>