Bug 79730 - FILESAVE: Linked images dont save as references in html files
Summary: FILESAVE: Linked images dont save as references in html files
Status: RESOLVED DUPLICATE of bug 48887
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks:
 
Reported: 2014-06-06 16:53 UTC by woinem1
Modified: 2015-12-15 11:03 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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]