<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - REad Error if embedded images are not into the Pictures directory"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123983#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - REad Error if embedded images are not into the Pictures directory"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123983">bug 123983</a>
from <span class="vcard"><a class="email" href="mailto:laurent.mignon@acsone.eu" title="Laurent Mignon <laurent.mignon@acsone.eu>"> <span class="fn">Laurent Mignon</span></a>
</span></b>
<pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=123983#c9">comment #9</a>)
<span class="quote">> Let's put back to UNCONFIRMED.
> I never saw pictures generated at root level from a version of LO and
> thought odf validator would complain but it's not the case.
> Anyway I can't help here so uncc myself.</span >
Even if I fix the validation error, the pictures are not properly displayed.
could you point me where it's specified that pictures must be in a sub
directory?
As I understand, there is no rule saying where to place the pictures. The only
rules are.
* The "href" attribute of the "<dram:image/>" tag must be the path to the file
into the archive.
* The file must be declared into the file META-INF/manifest.xml
In the working case we have:
----------------------------
content.xml
...
<draw:image
xlink:href="Pictures/6dcfbae1284da95d6bcf990e3b9bfd4d7ab9f6d034ba057327a436c19f77277e"
...
META-INF/manifest.xml
....
<manifest:file-entry
manifest:full-path="Pictures/6dcfbae1284da95d6bcf990e3b9bfd4d7ab9f6d034ba057327a436c19f77277e"
...
And the image is into the Pictures subdirectory
Into the failing case we have:
------------------------------
content.xml
...
<draw:image
xlink:href="Pictures/6dcfbae1284da95d6bcf990e3b9bfd4d7ab9f6d034ba057327a436c19f77277e"
...
META-INF/manifest.xml
....
<manifest:file-entry
manifest:full-path="Pictures/6dcfbae1284da95d6bcf990e3b9bfd4d7ab9f6d034ba057327a436c19f77277e"
...
And the image is a the root of the archive.
In both cases the "href" has the right path to the image. Therefore that should
work. Do I miss something? If a rule exists saying that the pictures must be
into a sub directory, we can close this issue otherwise we must fix it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>