Project

General

Profile

Actions

Defect #36515

open

Images with absolute Path / URL not exported to PDF

Added by Malte Blanck almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

image.png (5.37 KB) image.png Malte Blanck, 2022-01-25 07:14
Export_test.pdf (94.6 KB) Export_test.pdf Malte Blanck, 2022-03-02 23:53
Actions #1

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.

Actions #2

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
Actions #3

Updated by Marius BÄ‚LTEANU almost 3 years ago

Is it working when the attachment is public?

Actions #4

Updated by Malte Blanck almost 3 years ago

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.

Actions

Also available in: Atom PDF