PDF not showing image (from retool storage)

  1. My goal: show image in pdf, was working previously

  2. Issue: image is ? in pdf

  3. Additional info: (Cloud or Self-hosted, Screenshots) : self hosted

image

Hi @mpmohi, could you clarify how you are trying to display an image? Is it an image inside of a pdf file? Are you using a pdf component? Thanks!

Hi @Mike_M

Yes this is an image inside pdf with pdf exporter. Issue was I can view the image fine say in a image component but having this when generating pdf

Ok thank you I understand now. Have you double checked the image data that is being passed in? You might have something like this in your pdf exporter:
![example](data:image/png;base64,{{ someVariableWithBase64data }})

If that variable doesn't return base64 data then it will show up as a question mark instead of the image.

Otherwise, I would also double check the data types that are being passed in. It should work for jpegs and pngs, but I've seen it return a question mark for webp and html.

Just following up before I close this, were you able to resolve your issue @mpmohi?

hi @Mike_M ,

yes it was some certificate issue from my image server.

I see, glad you got it worked out!