Bug 97651 - INSERT: SVG <image> tag not supported
Summary: INSERT: SVG <image> tag not supported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2016-02-08 16:04 UTC by Yousuf Philips (jay) (retired)
Modified: 2025-11-19 16:02 UTC (History)
3 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 Yousuf Philips (jay) (retired) 2016-02-08 16:04:44 UTC
Steps:
1) Open Writer
2) Insert https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/image.svg
3) Notice that no image loads in the blue square.

The SVG code for the image is as follows.

<image ... x="50" y="150" width="500" height="500" xlink:href="http://farm1.static.flickr.com/234/535566372_33c1025c7b_o.jpg"/>

Version: 5.2.0.0.alpha0+
Build ID: 6d68e88a0fc5a54bbb826379163bd0b9c6eae0fb
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-08_08:05:38
Locale: en-US (en_US.UTF-8)
Comment 1 Joel Madero 2016-02-08 18:16:40 UTC
Bodhi Moksha
LibreOffice 3.3 (inherited from OOo)

I can confirm. Is this an enhancement request or a bug? Do we have release notes somewhere that say that this is possible?

Marking as:
New
Minor - can slow down but won't prevent high quality work (can download the image and insert it)
Low - No proof of regression

Updating version field as well.
Comment 2 Yousuf Philips (jay) (retired) 2016-02-08 21:28:34 UTC
Seems the <image> tag is supported, but it wont load online images through the tag.

Another example - https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/oscon.svg

(In reply to Joel Madero from comment #1)
> I can confirm. Is this an enhancement request or a bug? Do we have release
> notes somewhere that say that this is possible?

Not sure whether this should be considered a bug report or an enhancement. We do load online images when they are embedded into a doc or html file in LO. Not sure if they intentionally left this feature out due to security.

@Xisco: What is your take on this?
Comment 3 Yousuf Philips (jay) (retired) 2016-02-08 21:48:25 UTC
(In reply to Joel Madero from comment #1)
> LibreOffice 3.3 (inherited from OOo)

Just to let you know that the SVG implementation code we currently use was implemented in LO 4.0, while 3.3 to 3.6 had a different SVG implementation.

https://blogs.apache.org/OOo/entry/good_news_libreoffice_is_integrating
Comment 4 Joel Madero 2016-02-08 22:13:17 UTC
(In reply to Yousuf (Jay) Philips from comment #3)
> (In reply to Joel Madero from comment #1)
> > LibreOffice 3.3 (inherited from OOo)
> 
> Just to let you know that the SVG implementation code we currently use was
> implemented in LO 4.0, while 3.3 to 3.6 had a different SVG implementation.
> 
> https://blogs.apache.org/OOo/entry/good_news_libreoffice_is_integrating

Definitely interesting. I suppose one of two things are appropriate:

1) Leave as is since it never worked;
2) Change to 4.0 and add "implementationError" to keywords.

I personally don't have strong feelings either way.
Comment 5 QA Administrators 2017-03-06 15:47:49 UTC Comment hidden (obsolete)
Comment 6 Roman Kuznetsov 2018-06-19 20:03:15 UTC
still repro in 6.1 beta 1
Comment 7 QA Administrators 2019-06-20 02:50:33 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-06-20 03:47:01 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2023-06-21 03:13:55 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2025-06-21 03:11:48 UTC Comment hidden (obsolete)
Comment 11 Yousuf Philips (jay) (retired) 2025-11-19 15:02:30 UTC
Still present.

Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 4; OS: Linux 6.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded