View Single Post
Old 09-02-2016, 12:11 AM   #1
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
SVG images marked as "unused media"

I inserted an image using the "AddImageasSVG" plugin.
Looks fine.

Then I ran the "Delete unused media" tool.
It wanted to delete the image I had just placed.

The page is
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title></title>
  <style type="text/css">    @page {padding: 0; margin:0}
body  {text-align: center; padding:0; margin: 0; }
  </style>
</head>

<body>
  <div>
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 616 444" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image width="616" height="444" xlink:href="../Images/map.png"/></svg>
  </div>
</body>
</html>
If I add a line above the </body>:
Code:
    <p><img src="../Images/map.png"/></p>
Then that makes it "used".

However, the cover image is also SVG, from the "Add cover" tool, but it is not marked for deletion.

Last edited by AlanHK; 09-02-2016 at 01:00 AM.
AlanHK is offline   Reply With Quote