Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Embedded Image not working in BIRT4.2.2
Narsimha
Embedded images in the rptdesign are not getting displayed after 4.2.2 upgrade from birt 3.7.0
Environment:
Windows XP
Weblogic 11g
Oracle 11g
Birt runtime - 4.2.2
Options that we tried :-
1.We have tried with setting URI to the image from javascript , this is working for PDF but not working for HTML
2.We have placed the image in webcontent but still not working
3.We have placed the image in defacult image dir ${birt_home}/report/image - still issue persist
Please suggest the way forward.
Find more posts tagged with
Comments
kclark
Try adding the images to the report resources and then adding it as an embedded image to your report.
Narsimha
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="117034" data-time="1369162715" data-date="21 May 2013 - 11:58 AM"><p>
Try adding the images to the report resources and then adding it as an embedded image to your report.<br /></p></blockquote>
<br />
<br />
but we have, some reports which are already developed and running in server (stored as rptdocument) with birt 3.7 version.<br />
If we migrate it to 4.2.2 those reports are not displaying images.
kclark
I'm able to create reports in 3.7 with embedded images and see them fine in 4.2, can you create an example that I can run?
Narsimha
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="117067" data-time="1369233370" data-date="22 May 2013 - 07:36 AM"><p>
I'm able to create reports in 3.7 with embedded images and see them fine in 4.2, can you create an example that I can run?<br /></p></blockquote>
<br />
Please let me know one thing. Where will embedded images are downloaded in weblogic 11g app server while viewing from viewer servlet.<br />
In local we will able to see those downloaded files with session id and image ids. but not for weblogic 11g.
purnima_d
<p>Hi</p><p>Embedded image is not working for Birt 4.3 also.</p><p>Issue 1 : We are using weblogic 11 to deploy the reporting application and once the rptdocument gets generated with Birt 4.2.2 and we are using Birt 4.2.2 viewer to view the report from the application but we are unable to view the embedded images in newly created report (with 4.2.2)</p><p>Issue 2 : We are also facing issue with old reports which are generated with BIRT 3.7 and these reports are uploaded to the database as rptdocuments.
So, when we try to view these old reports with birt 4.2.2 viewer , the embedde image is not getting displayed
Note : Even if we use dynamic image we will face the same issue with old reports that are stored in DB with embedded image.
</p><p>Observations :</p><p>1.Looks like it is not issue with Weblogic why because initially we have upgraded Weblogic to 11g without upgrading BIRT and tested all reports everything is fine.We have encountered this issue only after upgrading BIRT to 4.2.2</p><p>2.This is happening for any sample report we create using BIRT4.2.2.</p><p>3.We also tried birt 4.3 viewer , we are facing similar issue with latest 4.3 version. </p><p>Please find the attached sample report created using birt 3.7</p><p>Steps to reproduce :</p><p>1.Use this sample rptdesign and generate rptdocument using birt 3.7
2.Try to view the rptdocument with birt 4.2.2 and birt 4.3</p><p>example :
<a data-ipb='nomediaparse' href='
http://localhost:7001/reportViewer/run?__document'>http://localhost:7001/reportViewer/run?__document</a>
; = sample_embedded_image.rptdocument</p><p>if you use Birt 4.2.2 or Birt 4.3 viewer you will not be able to view the the embedded image</p><p> </p><p> </p><p> </p><p> </p><p>Environment:
Windows XP
Weblogic 11g
Oracle 11g
Birt runtime - 4.2.2 or 4.3
</p>