Feature #3228
openAttatched wiki images are not included in export to HTML
100%
Description
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.
Files
Related issues
Updated by Frank Isemann over 15 years ago
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 ;-)
Updated by Jak Charlton over 14 years ago
- File inline-html-images.diff inline-html-images.diff added
- Status changed from New to Resolved
- % Done changed from 0 to 100
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
Updated by Azamat Hackimov over 14 years ago
- Status changed from Resolved to New
Jak, don't close bug until patch commited to rep :)
Updated by Jak Charlton over 14 years ago
Whoops apologies :)
Didn't actually know if you would want to put to main repository ...
Anyway hope it helps
Updated by Toshi MARUYAMA over 10 years ago
- Related to Patch #16446: Generate full URLs to images and linked pages in the Wiki HTML export added