Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 3 posts ] 
Contents Audio & Certification 
Author Message

Joined: Thu Sep 10, 2009 3:34 pm
Posts: 155
Post Contents Audio & Certification

Hi Fredrik

I have an image associated with the various audio selections - DTS, etc. The image is in the notes section. How can I show the image with the audio selection? I would like it to show like this:

Image Dolby Digital 5.1

Also, the movie ratings have images as well in the notes section. However, I want to show the images only - not the ratings word or letter.

Thanks.

Jeff.


Sat Aug 20, 2011 5:45 pm
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Contents Audio & Certification

jeff wrote:
Hi Fredrik

I have an image associated with the various audio selections - DTS, etc. The image is in the notes section. How can I show the image with the audio selection? I would like it to show like this:

Image Dolby Digital 5.1

Also, the movie ratings have images as well in the notes section. However, I want to show the images only - not the ratings word or letter.

You need to save the images in the \Explorer Templates section, and update the relevant template to display the image, using "<xsl:choose>" with a "<xsl:test>" for each field value you want to link to an image. For example in the <xsl:template name="format-audio"> section in Common.xsl:

Code:
    <xsl:choose>
      <xsl:when test=". = 'Dolby Digital 5.1'">
        <IMG SRC="DD51.gif"></IMG><xsl:value-of select="."/>
      </xsl:when>
      <xsl:when test=". = 'Stereo'">
        <IMG SRC="Stereo.gif"></IMG><xsl:value-of select="."/>     
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="."/>
      </xsl:otherwise>
    </xsl:choose>

_________________
Fredrik Nordbakke
www.fnprg.com


Sat Aug 20, 2011 6:02 pm
Profile WWW

Joined: Thu Sep 10, 2009 3:34 pm
Posts: 155
Post Contents Audio & Certification

Thanks Fredrik


Sun Aug 21, 2011 3:29 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.