This shows how to output a blob. The first section under the comment "build the asset" is explained in FatWire Output Asset Attributes to Screen. The id tag contains the id of the blob to be displayed this is the first edit to the code below that is required to render the blob. This id can be located under the images tab of the advanced view in CS7.
You must ensure the type in assetset:setasset is the correct asset type for your project. In the second part of the code below the <%-- Display the image --%> JSP comment we set up our render:satelliteblob. Pass into blobwhere attribute the value of ics:listget output attribute.
We also specify two arguments for our <img> tag, these include the alt attribute and the border attribute and their resulting values. This code should be adequate for displaying an image in a FatWire JSP.
<%-- build the asset that contains the image --%>
<assetset:setasset name="imageAsset" type="Image_Asset" id='some_id'/>
<assetset:getattributevalues name="imageAsset" typename="Att" attribute="UploadImage" listvarname="UploadImageList"/>
<ics:listget listname="UploadImageList" fieldname="value" output="UploadImageOut" />
<%-- Display the image --%>
<render:satelliteblob blobtable="MungoBlobs" blobkey="id" blobcol="urldata" blobwhere='<%=ics.GetVar("UploadImageOut")%>' blobnocache="false" service="img src">
<render:argument name="alt" value="Attachment"/>
<render:argument name="border" value="0"/>
</render:satelliteblob>
Other possible render:argument types possible to add to render:satelliteblob include:
<render:argument name="width" value="32"/> <render:argument name="height" value="30"/>



