Question
· Jan 26, 2023

Dynamically adding an image to ZEN PDF report

How can I use STREAMOID to populate an <img> tag in ZEN reports from a stored jpg in a class object

The value of Image :

http://xxx.xxx.xxx.xxx:57772/csp/dev/%25CSP.StreamServer.cls?STREAMOID=8...$k2fQlX10YSRwgCO2zbiA

Snippet below:

<container ifexpression="%report.TestProfileImage(2)=1">
<table orient="col" class="borderless" width='#($g(^||Page("TotalRowWidth")))#in' group="TestTable2">
<table orient="row" width='#($g(^||Page("TotalRowWidth")))#in'>
<table orient="col" class="default" width='#($g(^||Page("TotalRowWidth")))#in' group="TestData">
<block>
<img src='!Image' contentHeight='!ImageHeight' contentWidth='!ImageWidth' height='!ImageHeight' width='#(..TestColumnWidth(2,1))#in' style='#(..Style("TestImage",2))#' includeColUnlessXPath='TestData[Image=""]'></img>
</block>
</table>
</table>
</table>
</container>
<pagebreak ifexpression="%report.PageAfterTestProfile(2)=1"></pagebreak>
</foblock>
</container>

Product version: IRIS 2022.1
Discussion (1)1
Log in or sign up to continue