Vote #65118
未完了Attatched wiki images are not included in export to HTML
100%
説明
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