react-pdf-html icon indicating copy to clipboard operation
react-pdf-html copied to clipboard

Images are showing while downloading or view in other browser

Open dhwaj1902 opened this issue 1 year ago • 2 comments

Images are not showing while downloading the PDF or in any other browser except chrome. I have changed how the images rendered in react-pdf-html with this:

image

Images with Image Urls are now showing perfectly fine only in chrome not in other browsers (not even while download the pdf using the chrome).

Used the S3 URLs for Images.

dhwaj1902 avatar Feb 28 '24 18:02 dhwaj1902

Interesting. In this case, what does 'Cache-Control': 'no-cache' achieve?

danomatic avatar Mar 03 '24 17:03 danomatic

Same problem with firebase. Just fix it by image

fendermany avatar May 06 '24 13:05 fendermany

Latest code has 'Access-Control-Allow-Origin': '*'

danomatic avatar Jul 21 '24 20:07 danomatic