Hi all

I'm modifying our 'people search results' page to show details in a tabular 
format. I've got everything displaying the way it should, except for the fact 
that I want to make the employee photo smaller (it defaults to the 96x96 px 
sizing)

Does anyone know how to modify the xslt to use the "small" (32x32 px) thumbnail 
for a user that is stored in the profile database? I've included the snippets 
of xslt below. (You can change the placeholder to use the small one easily, but 
I have no idea how to change the user photo)

Nigel

P.S. I've tried changing the 'Fetched Properties' to pull back 
PictureThumbnailURL instead of PictureURL, and reference that, but no luck :(


Code to populate result

      <td>
        <a href="{ddwrt:EnsureAllowedProtocol(string($url))}"
        id="{concat($currentId, '_CSR_IMGL')}"
        title="{preferredname}">
          <xsl:variable name="imgid"
          select="concat('CSR_IMG_',$id)" />
          <xsl:variable name="purl">
            <xsl:call-template name="GetPicUrl">
              <xsl:with-param name="PicUrl" select="pictureurl" />
              <xsl:with-param name="PlaceHolderUrl"
              select="'/_layouts/images/o14_person_placeholder_32.png'" />
            </xsl:call-template>
          </xsl:variable>
          <img id="{$imgid}"
          src="{ddwrt:EnsureAllowedProtocol(string($purl))}"
          alt="{preferredname}" border="0"></img>
        </a>
        <xsl:if test="$hascol">
          <div id="ColleagueField">
            <xsl:value-of select="colleaguecategory" />
          </div>
        </xsl:if>
      </td>





[cid:image002.png@01CC9976.84FDFBD0]

Kind Regards,
Nigel Hertz

SharePoint Administrator & Developer, Information Technology
Stockland, Level 25, 133 Castlereagh Street, Sydney NSW 2000
T: +61 2 9035 2617  M: +61 4 0103 4605
F: +61 2 8988 2617   E:  nigel.he...@stockland.com.au
www.stockland.com.au
Before printing this email, please consider the environment.


_____________________________________________________________________________________________________________________________________________________________

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.

<<inline: image002.png>>

_______________________________________________
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to