HTML Report Corrupted Image
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
HTML Report Corrupted Image
Hello,
I created a stimulsoft report and added to the mrt file an image.
When exporting the report to PDF/Excel, the image is displayed properly, but when exporting the report to HTML, the image is corrupted.
Note that I am using the below code to define the image URL:
System.Configuration.AppSettingsReader cfg = new System.Configuration.AppSettingsReader();
string strImageURL = Convert.ToString(cfg.GetValue("LogoURL", typeof(System.String))).ToString();
objAccountsReport.imgLogo.File = strImageURL;
Please advise.
Thank you.
I created a stimulsoft report and added to the mrt file an image.
When exporting the report to PDF/Excel, the image is displayed properly, but when exporting the report to HTML, the image is corrupted.
Note that I am using the below code to define the image URL:
System.Configuration.AppSettingsReader cfg = new System.Configuration.AppSettingsReader();
string strImageURL = Convert.ToString(cfg.GetValue("LogoURL", typeof(System.String))).ToString();
objAccountsReport.imgLogo.File = strImageURL;
Please advise.
Thank you.
Re: HTML Report Corrupted Image
Hello.
Which version of our product do you use?
Please, send us a sample report template with data which reproduces the issue.
Also send us screen-shot of the report exported to HTML.
Thank you.
Which version of our product do you use?
Please, send us a sample report template with data which reproduces the issue.
Also send us screen-shot of the report exported to HTML.
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: HTML Report Corrupted Image
I am using the version 2013.
Attached is the solution.
Edited by admin: it's forbidden to upload on forum our licensed assemblies!
Thank you
Attached is the solution.
Edited by admin: it's forbidden to upload on forum our licensed assemblies!
Thank you
Re: HTML Report Corrupted Image
Hello.
Your code works right. Could you describe what is wrong with your image when you use HTML export?
Thank you.
Your code works right. Could you describe what is wrong with your image when you use HTML export?
Thank you.
-
- Posts: 16
- Joined: Mon Sep 24, 2012 7:08 am
Re: HTML Report Corrupted Image
The image is not displayed in the HTML page exported. It appears as blank.
Re: HTML Report Corrupted Image
Hello.
Here is an exported report with image: Try to save rendered report with SaveDocument() method is there an image?
Thank you.
Here is an exported report with image: Try to save rendered report with SaveDocument() method is there an image?
Thank you.
Re: HTML Report Corrupted Image
Hello.
There also was added a new export setting -- Embedded Image Data -- in our latest release.
Thank you.
There also was added a new export setting -- Embedded Image Data -- in our latest release.
Thank you.