Defect #36515
open
Images with absolute Path / URL not exported to PDF
Added by Malte Blanck almost 3 years ago.
Updated over 2 years ago.
Description
Images get exported to PDF (From Wiki / Ticket)
If you use the syntax with the complete Image URL the Image doesn't appear on the PDF.
Files
This one won't work:
!https://www.redmine.org/attachments/download/28741/image.png!
It appears though, that in Redmine.org Images are generally not exported to PDF.
I can confirm this problem for pdf export.
This works for html output and pdf export:
!image.png!
This works for html output, but not for pdf export:
!https://myredmine.com/attachments/download/28741/image.png!
I suppose the problem is that rbpdf cannot access to these files. Wysiwyg editors like redmine_wysiwyg_editor insert absolute URLs (it would be nice, if they would insert relative urls).
But I think, that html and pdf output should be the same in general.
Tested with:
- Redmine 4.2.3
- Ruby 2.7.5
- No plugins
Is it working when the attachment is public?
Marius BALTEANU wrote:
Is it working when the attachment is public?
Nope, same issue...
But I am not 100% sure wether or not i set the Project completly Public.
I just toogled the "public" Checbox on the Projects Configuration page.
Also available in: Atom
PDF