GitHub user vikraman22 edited a comment on the discussion: Image is blank 
during pdf export in Superset UI

@dosu

I'm using markdown components and handle bar chart both having external image 
URLS. 
Sample html code is as follows 

```
<div style="width:100%; height:100%; display:flex; flex-direction:column; 
align-items:center; justify-content:center; padding:10px; 
box-sizing:border-box;">
  {{#each data}}
    <div style="width:100%; display:flex; align-items:center; 
justify-content:center; margin-bottom:10px;">
      <img
        src="{{this.image_url}}"
        style="max-width:90%; max-height:80px; width:auto; height:auto; 
object-fit:contain; display:block;"
      />
    </div>
  {{/each}}
</div>
```

I'm using superset 6.0.0 btw


GitHub link: 
https://github.com/apache/superset/discussions/38244#discussioncomment-15921022

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to