プロジェクト

全般

プロフィール

Vote #81799

未完了

Images with absolute Path / URL not exported to PDF

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
PDF export_39
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
0
issue_org_id:
36515
author_id:
435570
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[New]

説明

Images get exported to PDF (From Wiki / Ticket)

!image.png!

If you use the syntax with the complete Image URL the Image doesn't appear on the PDF.


journals

This one won't work:

!https://www.redmine.org/attachments/download/28741/image.png!
<pre>
!https://www.redmine.org/attachments/download/28741/image.png!
</pre>

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:

<pre>
!image.png!
</pre>

This works for html output, but not for pdf export:

<pre>
!https://myredmine.com/attachments/download/28741/image.png!
</pre>

I suppose the problem is that "rbpdf":https://github.com/naitoh/rbpdf cannot access to these files. Wysiwyg editors like "redmine_wysiwyg_editor":https://github.com/taqueci/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.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリPDF export_39 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0