[Okular-devel] [Bug 198764] New: EPUB: relative URLs are not resolved (causes e.g. cover image to not display)

Alan Jenkins alan-jenkins at tuffmail.co.uk
Fri Jul 3 12:28:33 CEST 2009


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

           Summary: EPUB: relative URLs are not resolved (causes e.g.
                    cover image to not display)
           Product: okular
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: alan-jenkins at tuffmail.co.uk


Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

For an example, use Okular to open the EPUB document at
<http://www.webscription.net/p-379-1632.aspx>.  The cover image will not
display.  A "blank page" icon appears in it's place.

Lots of errors shown, e.g.:

libepub (II):   guide item: Cover href: content/calibre_title_page.html type:
cover                                  
libepub (II):   resources/_cover_.jpg - No such file

Root cause:

/content/calibre_title_page.html:
<img src="resources/_cover_.jpg" alt="cover" style="height: 100%"/>

"resources" is a subdirectory of content, i.e. the path needs to be resolved to
"/content/resources/_cover_.jpg".

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list