In the previous post, we have discussed how to render text stored in a blob. In this post, we will know how to render an image which is stored in the blob.
The following code is used to render the image blob. Here, I’m using render:satelliteblob tag to render the image.
<!--load the child asset -->- <assetset:setasset name="myasset" id='<%=ics.GetVar("childId") %>' type='<%= ics.GetVar("childType") %>' /> <assetset:getmultiplevalues name="myasset" byasset="false" prefix="atlst"> <assetset:sortlistentry attributetypename="Content_A" attributename="my_image"/> </assetset:getmultiplevalues> <!--Render the Image --> <ics:listloop listname="Imagelist"> <ics:listget listname="Imagelist" fieldname="value" output="o_value"/> <render:satelliteblob service="img src" blobtable="MungoBlobs" blobkey="id" blobwhere='<%=ics.GetVar("o_value")%>' blobcol="urldata"/> </ics:listloop> //In this way, we can render an image in Fatwire using the Satellite blob tag.