Bug 80891 - Linked image is fully embedded in HTML document
Summary: Linked image is fully embedded in HTML document
Status: RESOLVED DUPLICATE of bug 48887
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 06:05 UTC by Leon Arundell
Modified: 2015-04-17 17:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Image code appears as LibreOffice as if it were text. (185.56 KB, image/png)
2014-07-04 06:05 UTC, Leon Arundell
Details

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