Need to display "Image not Available Text" in the space designated for the logo if the image is not available
Posted on September 4, 2013 at 1:54pm
I have to display "Image not Available Text" in the space designated for the company logo if the image from the server is not available at fill time during pdf generation.
Is there any way to conditionally load a text message in the image expression if the image in concern is not available or the image file is not found. Please help.
Posted on March 13, 2015 at 1:58am
<reportElement x="84" y="10" width="380" height="380" uuid="876b42e6-3b20-4746-85b4-04ee04883e18"/>
Use onErrorType=Blank inside Image tag. It will not show any image if image is not available instead of showing Byte not found.