Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2009, 03:00 AM   #1
Littermate
Becalmed
Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.
 
Littermate's Avatar
 
Posts: 29
Karma: 6172
Join Date: Oct 2009
Location: Tennessee USA
Device: Two Sony PRS505 (Breeding pair)
Question Missing images

Hi

Am trying to create an EPUB from a HTML file (saved from Open Office) and am slowly going bonkers.

The HTML loads in Open Office and in my browser perfectly OK. All images are stored in the same path as the HTML file.

The following line is in the HTML file:

<P ALIGN=CENTER><IMG SRC="cover.png" NAME="graphics1" ALIGN=BOTTOM WIDTH=510 HEIGHT=680 BORDER=0></P>

However, when I open the HTML file in Sigil this becomes:

<p ALIGN="CENTER"><img SRC="../images/img0001.png" ALIGN="BOTTOM" WIDTH="510" HEIGHT="680" BORDER="0" NAME="graphics1" /></p>

This points to a source image which does not exist and thus does not display.

Anyone any ideas why Sigil does this, and how to make it work?

Littermate is offline   Reply With Quote
Old 12-17-2009, 09:13 AM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
When Sigil loads your HTML file, it parses it and catches all the image references. These images are then copied to a temporary folder from which they are loaded on demand when they need to be displayed. As you have seen, the images are also renamed and all paths are updated (with a hidden relative path part).

Now, if your image fails to display, then that means something went wrong during the loading process. Image loading is actually now pretty robust, this really shouldn't be happening.

Create an issue on the tracker and attach your HTML file structure (along with the images etc). Follow these instructions.
Valloric is offline   Reply With Quote
Advert
Old 12-18-2009, 01:20 PM   #3
Littermate
Becalmed
Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.Littermate got an A in P-Chem.
 
Littermate's Avatar
 
Posts: 29
Karma: 6172
Join Date: Oct 2009
Location: Tennessee USA
Device: Two Sony PRS505 (Breeding pair)
Thanks Valloric

Well, that was a DOHH! moment for me. As soon as I woke the following day I realised what was happening with the renaming and pathing, and your reply confirms. I must have been wearing my stupid head that night.

Of course the images still don't display. Funny thing is that if I open the epub or sgf as an archive I can see the images are there and will display in a viewer if I extract them. They don't display in Calibre or on my reader either, though they did before I edited the base HTML in Open Office. I don't think its your program doing it though. There's something fundamental in the format of this file.
Littermate is offline   Reply With Quote
Old 12-18-2009, 02:03 PM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Littermate View Post
I don't think its your program doing it though. There's something fundamental in the format of this file.
If you create an issue and attach the epub, I can make sure it's not Sigil. If it is, it will be fixed. If it's not, I'll be able to tell you if there's something else going on.
Valloric is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nytimes, missing images in EPUB ees Recipes 2 11-17-2018 08:47 AM
HTML + Images = MOBI without Images SunLight Amazon Kindle 5 08-25-2012 02:27 PM
Hello, this is what I've been missing. Elimad Introduce Yourself 10 06-24-2010 08:06 PM
Missing covers, missing content. Getting worse with each sync. Mememememe Kobo Reader 7 06-16-2010 09:02 AM
What am I missing here? SoonerGirl ePub 3 01-08-2010 07:56 PM


All times are GMT -4. The time now is 11:51 PM.


MobileRead.com is a privately owned, operated and funded community.