3 Replies Latest reply: Aug 20, 2014 1:37 AM by Stephan Da Silva-Oracle RSS

    facing issues while loading blob document.

    BishnuSatpathy

      Hi All

       

      I am using the below snippet of code for loading image, which is working good for a Media_C type of asset of Image.

      But the same code shows error for a document asset.(i.e. pdf, docs)
      Could someone tell any standard procedure for blobs.

       

       

      <render:getbloburl

          c='<%=ics.GetVar("c")%>'

          cid='<%=ics.GetVar("cid")%>'

          field='FSII_ImageFile'

          outstr="imageVar">

      </render:getbloburl>

       

      <img src='<%=ics.GetVar("imageVar")%>'>

      <a href='<%=ics.GetVar("imageVar")%>'> click here </a>

       

      For documents gives below error.

       

      The image "http://localhost:8180/cs/Satellite?blobcol=urldata&blobkey=id&blobtable=MungoBlobs&blobwhere=1351276304002&ssbinary=true" cannot be displayed because it contains error.

       

      Regards

      Bishnu