Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 24026

SVG images marked as "unused media"

$
0
0
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.

Viewing all articles
Browse latest Browse all 24026