I'm searching for a way to have a task list view where AssignedTo column contains user profile image just as i can in User Info List.
By looking at hows its done in User Info List, i see a PictureDisp calculated column with custom DisplayPattern that renders the image. This is schema for the field:
<?xml version="1.0" encoding="utf-16"?>
<Field ID="{cd01f312-731b-4711-97f8-a18c37b1eeb5}" Type="Computed" ReadOnly="TRUE" Name="PictureDisp" DisplayName="Attēls" Sortable="FALSE" Filterable="FALSE" EnableLookup="FALSE" Hidden="TRUE" AuthoringInfo="(attēls)" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PictureDisp">
<FieldRefs>
<FieldRef Name="Title" />
<FieldRef Name="Picture" />
</FieldRefs>
<DisplayPattern>
<HTML><![CDATA[<a ONCLICK="GoToLink(this);return false;" href="]]></HTML>
<URL />
<HTML><![CDATA[">]]></HTML>
<HTML><![CDATA[<IMG width="62" height="62" border="0" SRC="]]></HTML>
<Switch>
<Expr>
<Column Name="Picture" />
</Expr>
<Case Value="">
<HTML><![CDATA[/_layouts/images/person.gif" ALT="]]></HTML>
<HTML HTMLEncode="TRUE">Attēla vietturis:</HTML>
<HTML><![CDATA[ ]]></HTML>
<Column Name="Title" HTMLEncode="TRUE" />
<HTML><![CDATA[ " > ]]></HTML>
</Case>
<Default>
<Column Name="Picture" HTMLEncode="TRUE" />
<HTML><![CDATA[" ALT="]]></HTML>
<HTML HTMLEncode="TRUE">Attēls:</HTML>
<HTML><![CDATA[ ]]></HTML>
<Column Name="Title" HTMLEncode="TRUE" />
<HTML><![CDATA[">]]></HTML>
</Default>
</Switch>
<HTML><![CDATA[</a>]]></HTML>
</DisplayPattern>
</Field>
So it uses the "Picture" column to get the value of user profile picture URL to render the image.
Obviously, for a task list i don't have a "Picture" column. Is there any way i can make for a task list a PictureDisp field with custom DisplayPattern and lookup that information from Site User Info List?