Images sourced via URL are not displayed when exporting a Stimulsoft report to PDF (CORS Policy)
Posted: Fri Apr 24, 2026 2:52 am
Hi Stimulsoft team, We are using Stimulsoft reports and encountered an issue where images sourced via URL are not displayed when exporting a Stimulsoft report to PDF
Scenario:
* The report has an Image component using an external image URL
* The image appears correctly in the preview/designer
* When exporting/saving as PDF, the image is missing
* The browser console shows a CORS error:
"No 'Access-Control-Allow-Origin' header is present on the requested resource"
We understand this is caused by browser CORS restrictions and that cannot control the external server configuration.
Question:
If external image URLs are blocked by CORS during PDF export, what is the recommended way to include images in Stimulsoft reports and able to export?
Specifically:
* Can the image be uploaded directly into the report template instead of using a URL?
* Is it better to use images hosted from the same domain?
* Are there any recommended Stimulsoft approach to ensure images appear correctly in exported PDFs?
We want to confirm the most reliable approach before advising our client.
Thank you
Scenario:
* The report has an Image component using an external image URL
* The image appears correctly in the preview/designer
* When exporting/saving as PDF, the image is missing
* The browser console shows a CORS error:
"No 'Access-Control-Allow-Origin' header is present on the requested resource"
We understand this is caused by browser CORS restrictions and that cannot control the external server configuration.
Question:
If external image URLs are blocked by CORS during PDF export, what is the recommended way to include images in Stimulsoft reports and able to export?
Specifically:
* Can the image be uploaded directly into the report template instead of using a URL?
* Is it better to use images hosted from the same domain?
* Are there any recommended Stimulsoft approach to ensure images appear correctly in exported PDFs?
We want to confirm the most reliable approach before advising our client.
Thank you