https://bugs.kde.org/show_bug.cgi?id=466425

--- Comment #8 from Aer <[email protected]> ---
Hi, I have been looking into the files and the code, I found this:

in the given Epub, the `cover.xhtml` file has this:
>  <image xlink:href="../Images/cover.jpg" src="../Images/0_1.jpg" 
> href="../Images/0_1.jpg"></image>
It is trying to get the coverpage from the /Images directory.

This is the directory structure of the epub:
>mimetype
>META-INF/container.xml
>OEBPS/content.opf
>OEBPS/toc.ncx
>OEBPS/Images/0_1.jpg
>OEBPS/Images/1_1.png
>OEBPS/Images/31_1.png
>OEBPS/Images/31_2.jpg
>OEBPS/Text/0.html
>OEBPS/Text/1.html
>OEBPS/Text/2.html
>OEBPS/Text/cover.xhtml
>OEBPS/OEBPS/cover.jpg
>META-INF/calibre_bookmarks.txt```
>From this we can see that the actual cover.jpg is in the OEBPS/OEBPS/
directory, and it is not present in the Images directory.
So, is this a bug with okular? When running it, we are accurately getting this
error:

>org.kde.okular.generators.epu: EPUB : error loading resource 
>"Images/cover.jpg" size -1 type 2

which points to this issue in the file

how to proceed from here now?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to