Custom Display Form

Mar 20, 2014 at 1:58 PM
What is the proper way to show this column in a custom Display Form?

When I create a new form for item display in SharePoint designer (2010), by default the picture column displays the text link to the picture

Formatting it as a label is the only way to get the picture to display (not even inserting as picture works, get a red x), but then I get the picture displayed in full res and not being able to shrink the size down

Is there something else I should be using to display properly?
Coordinator
Mar 20, 2014 at 2:48 PM
There are two ways to embed Sparqube Picture Column Lite into custom display form:
<xsl:value-of select="@sqPictureLiteFieldName" disable-output-escaping="yes" />
or
<SharePoint:FormField runat="server" ControlMode="Display" FieldName="sqPictureLiteFieldName" />

In the first case the size of rendered picture will be the same as in list view, in the second case the picture will be in full size.

Please note, that commercial counterpart Sparqube Picture Column supports custom display forms better.