プロジェクト

全般

プロフィール

Vote #65118

未完了

Attatched wiki images are not included in export to HTML

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

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2009/04/23
期日:
進捗率:

100%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
3228
author_id:
5259
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

When using the HTML export feature on wiki pages, images that have been attached to that specific page are not included (rather, they are referenced in the src attribute as if they are locally present).

I understand the technical limitation behind this, due to that the export feature generates a single static HTML page (only).

Generating an archive (tar-gz/zip etc.) bundled with attached images + the HTML file would perhaps be a more robust solution. When exporting wiki pages as part of documentation, it is often desirable to include images to further clarify instructions. Or at least reference images by their external Internet address so that an external script could fetch the images directly.

Further, scripting to other formats (using the HTML content) like PDF, Latex, etc. is made considerately more difficult when the exact filename is not known.


journals

+1

Yes, it could be very useful.
--------------------------------------------------------------------------------
Why not embedded, Base64 Encoded Images?

Nice solution for someone who just want to have a single file for documentation purposes.

Okay, its not the "cleanest" method ;-)
--------------------------------------------------------------------------------
This patch embeds all images as Base64 encoded images inline with exported HTML

This is based off another patch I found on here (but now cannot locate), which did not work on the 1.0 stable as it was written, a small amount of rework was needed to get it working OK

--------------------------------------------------------------------------------
Jak, don't close bug until patch commited to rep :)
--------------------------------------------------------------------------------
Whoops apologies :)

Didn't actually know if you would want to put to main repository ...

Anyway hope it helps

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,16446,Generate full URLs to images and linked pages in the Wiki HTML export

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

いいね!0
いいね!0