Bug 79730

Summary: FILESAVE: Linked images dont save as references in html files
Product: LibreOffice Reporter: woinem1
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: edmond_ciorba, jmadero.dev, michael.stahl, philipz85, reisi007, timar74
Priority: high Keywords: bibisected, regression
Version: 4.2.4.2 release   
Hardware: x86 (IA32)   
OS: Linux (All)   
See Also: https://bugs.libreoffice.org/show_bug.cgi?id=63211
https://bugzilla.redhat.com/show_bug.cgi?id=1108594
https://bugs.freedesktop.org/show_bug.cgi?id=80973
https://bugs.freedesktop.org/show_bug.cgi?id=88038
Whiteboard:
Crash report or crash signature: Regression By:

Description woinem1 2014-06-06 16:53:20 UTC
When saving a html file, the original file of 200k is becoming huge (200MB) by embedding all linked files. The switches "save URLs relative to file sytem" "save URLs relative to internet" are ignored.
No poblem like this with "open office", no problem with "KompoZer".
Thank you for thinking about :-)
Comment 1 Yousuf Philips (jay) (retired) 2014-06-06 21:18:29 UTC
What type of linked files are being embedded? Are these images?
Comment 2 woinem1 2014-06-07 06:17:43 UTC
Yes, linked graphic files. Meanwhile I found the bug here:
https://www.libreoffice.org/bugzilla/show_bug.cgi?id=48887
I used LO/ ooffice as html editor for some years now but is unusable in the moment for this purpose. What a pity!
Comment 3 Yousuf Philips (jay) (retired) 2014-06-07 10:04:31 UTC
Yes since 4.2, images added to files are saved as base64 encoded images embedded into html files, unless you check the 'insert as link' checkbox in the file insert dialog, but for some reason this isnt happening.

Confirmed in Linux Mint in 4.2.4, 4.2.6 and 4.3 beta. It does work correctly with referenced images in .odt files but not .html files.
Comment 4 woinem1 2014-06-07 12:39:01 UTC
Thanks for the confirmation. Hopefully this true regression will be corrected...
Comment 5 Florian Reisinger 2014-06-28 17:58:41 UTC
Added regression keyword
Comment 6 Michael Stahl (allotropia) 2014-07-09 21:11:15 UTC
it looks like this commit will unconditionally(!) write the
images as embedded base64-encoded, regardless of whether
it is set as an embedded or linked image, and thus introduced
this regression:

commit 5dd1b3da57862a6577717544dde56482add89170
Author:     Ciorba Edmond <edmond_ciorba@yahoo.com>
AuthorDate: Wed Jul 3 16:14:45 2013 +0300

    fdo#63211 - embed images in HTML export.
Comment 7 dE 2014-09-05 16:42:23 UTC

*** This bug has been marked as a duplicate of bug 48887 ***
Comment 8 Robinson Tryon (qubit) 2015-12-15 11:03:16 UTC
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]