renat-murtazin commented on issue #30866:
URL: https://github.com/apache/superset/issues/30866#issuecomment-2677111765
I experienced the same. In my case I had a Markdown element on a dashboard
with the following code inside:
```
<p align="center">
<img src="https://www.site.org/sites/default/files/image.png"
alt="Dashboard" width="600">
</p>
```
Image did not render on a dashboard and in Chrome Inspector the following
error was showing:
> Refused to load the image
'https://www.site.org/sites/default/files/image.png' because it violates the
following Content Security Policy directive: "img-src 'self' blob: data:
https://apachesuperset.gateway.scarf.sh https://static.scarf.sh/".
Well, although I have not succeeded in making superset render images in
Markdown, removing that from a dashboard allowed me to export a dashboard into
a pdf or an image.
Make sure, you do not have errors on a page during its rendering.
P.S. I change actual URL to an image in this message just in case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]