Defect #36515
openImages with absolute Path / URL not exported to PDF
0%
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
Updated by Malte Blanck almost 3 years ago
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.
Updated by Alexander Meindl almost 3 years ago
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
Updated by Marius BÄ‚LTEANU over 2 years ago
Is it working when the attachment is public?
Updated by Malte Blanck over 2 years ago
- File Export_test.pdf Export_test.pdf added
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.