Bug 80891

Summary: Linked image is fully embedded in HTML document
Product: LibreOffice Reporter: Leon Arundell <leon.arundell>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ilmari.lauhakangas, sophi
Priority: medium    
Version: 4.2.4.2 release   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Image code appears as LibreOffice as if it were text.

Description Leon Arundell 2014-07-04 06:05:25 UTC
Created attachment 102234 [details]
Image code appears as LibreOffice as if it were text.

When I insert a linked image in an HTML document (or edit an old HTML page with a linked image) the image becomes fully embedded in the HTML document. Although the document still appears as intended when viewed in a web browser, this has the following consequences:

(A) The file is much larger thanm necessary; 
(B) In LibreOffice, either the file cannot be re-edited, or the image coding in the document.

Steps to create the problem:

1. Save a LibreOffice document as HTML

2. Insert a linked image:

From the menu, choose Insert > Image > From File … > 
Check the “link” box
Enter the filename "http://grapevine.net.au/~mccluskeyarundell/NoFootpathsBulahdelah.jpg"
Click “Open”
If requested, click “keep link.”

Step 3: Save the document.

Expected result:
a. The document size should be about 2 kB.
b. When re-opened in LibreOffice, the document should appear with the text unchanged and the graphic displayed as expected.

Actual result:
The document size is about 100 kB.
When re-opened in LibreOffice, the document appears as in the uploaded attachment.
Comment 1 sophie 2014-07-15 15:05:05 UTC
Hi Leon, I reproduce your issue with 4.3.0 and Ubuntu 14.04, when right clicking on the image, there is no link anymore. Set as New - Sophie
Comment 2 Buovjaga 2015-04-17 17:08:31 UTC

*** This bug has been marked as a duplicate of bug 48887 ***