01-07-2013, 03:22 AM | #16 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
What about the after the image?
If the image occupies the whole screen, the would require a new (blank) page. |
01-07-2013, 03:28 AM | #17 |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
No, I also removed that and the result was the same... a blank page after the cover page. It's mentioned in a few more posts down that it was also removed to try, but I should take it out of the sample in the previous post to avoid the confusion.
Edit: It's mentioned in the same post actually, but I added in the extra code without the as well. Last edited by Ripplinger; 01-07-2013 at 04:08 AM. |
01-11-2013, 07:53 AM | #18 |
eBook pro
Posts: 71
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
|
It's to do with the the way styles "cascade" - if <p> is set to have an indent then all paragraphs will be indented regardless of their class and you will have to explicitly remove the indent in your style definition if you don't want the indent.
|
05-09-2013, 10:24 AM | #19 |
Member
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle Fire, iPad 2
|
blank page issue again
I have compiled a ePub in Sigil. I have added the Cover Semantic to the cover.html file as well as the actually image used for the cover. The cover of the ePub shows up in the thumbnail view on the iBooks shelf, however when I open the ePub in iBooks normally the first page that is shown is the cover however with this ePub it displays a blank page followed by the TOC and next the Title page. I see nothing that stands out in the code that would cause this.
The code for the cover is as follows. As you can see I bumped the width and height down to 75% thinking that the 100% setting was causing the issue. Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!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>Cover</title> </head> <body> <div style="text-align: center; padding: 0pt; margin: 0pt;"> <svg xmlns="http://www.w3.org/2000/svg" height="75%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 612 792" width="75%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image width="612" height="792" xlink:href="../Images/Pages from Journal_10-12_NGS_Final.jpg"></image> </svg> </div> </body> </html> |
05-09-2013, 12:39 PM | #20 | |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
If these ebooks are only for your personal use, and will always be viewed on an iPad, there could be a lot to be said for using pdf. |
|
05-10-2013, 02:38 AM | #21 |
Writer
Posts: 101
Karma: 590630
Join Date: Mar 2011
Location: Munich, Germany
Device: none
|
What happens, if you leave out any styles and sizes and use this simple line only:
<body> <p><img alt="cover" height="95%" src="../Images/cover.jpg" /></p> </body> And then you reduce the percentage until it fits? George Edit: In Calibre it is said, that some devices like iPhone and JetBook Lite don't support SVG. They show a blank page instead. So what about iPad? George Last edited by GMcG; 05-10-2013 at 09:50 AM. |
06-18-2013, 12:38 AM | #22 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2013
Location: Lone Star State
Device: iPad/imac
|
Thanks
I have also found that putting the image in a <div> (with zero margin, set in CSS) rather than a <p> helps prevent blank pages.[/QUOTE]
Just wanted to say thank you for your post. For the last two days I've been racking my head, going through every tag, file, settings I could think of while working in Sigil to try and remove a couple stinking blank pages that appeared before and after the cover image/page. I was opening up every ePub I could get my hands on w/o DRM installed so that I could try and find some big mistake I had made. I completely missed, nor would I have even thought, the <p> tags would have been an issue. I changed to <div> and made some tweaks to style.css and Halleluyah, bye bye blank pages. Thanks again. |
06-18-2013, 08:02 AM | #23 | |
A Hairy Wizard
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
06-18-2013, 03:06 PM | #24 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: ipad
|
I have a similar problem, when click the miniature in ibooks open the first page with a icon "?" I've copy the cover.html from another ok e-pub (that shows the cover in the first page) but don´t run in this one. I've copy too the stylesheet. I have change the route. Please, help!
|
06-18-2013, 04:39 PM | #25 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
also. sigil image paths always start with dot dot slash Images <-note the I |
|
06-19-2013, 08:40 AM | #26 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
they will display more or less full screen in the Fire HD and especially the 8.9 inch tablet. A traditional (American) photo is scaled something like 8x10, while the Fire tablets (I'm not certain about the iPads) are comparatively skinny, so that calling for 95 percent of the height would be asking for the image to be squeezed. What happens in such a case? Is it cropped right and left, or is the picture elongated like an El Greco? I do much the same with my publisher logo. I used to specify 25x25 pixels, but now I go width="12%". |
|
06-19-2013, 11:32 AM | #27 | |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
I guess the art of ebook cover design is to make something that scales to 800 x 600 (though don't Apple now require a minimum of 1000 pixels o the shorter side, to make their Retina screens look good?), which wouldn't suffer from a little cropping and which bleeds off into a plain colour, which can be matched by a background setting. Then, whatever damage any particular device may decide to inflict, you've done as much as you CAN do to get a pleasant result. |
|
06-19-2013, 12:22 PM | #28 | |
Wizard
Posts: 1,496
Karma: 11250344
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Kindle Oasis 2, Sony PRS-T2
|
Quote:
|
|
06-19-2013, 02:18 PM | #29 | |
A Hairy Wizard
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
There is a lot of coding mumbo-jumbo going on in the background to see the Marvin display which looks great, but if you want to see how the publisher's (or your) css looks - you need to select "publisher settings" in the inbook settings page. Cheers! |
|
06-20-2013, 02:37 AM | #30 |
Wizard
Posts: 1,496
Karma: 11250344
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Kindle Oasis 2, Sony PRS-T2
|
Nice to know! Wish it would come to Android so I could see it for myself. Though it might have to go some to beat my favorite, Mantano Reader. Still, I'm glad to hear there is something I can recommend to my friend!
|
Tags |
sigil cover image |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page blank before and after book image page | osiris12 | Sigil | 12 | 05-28-2015 04:27 PM |
Image (was Sigil) creates a blank page | p3aul | ePub | 3 | 09-26-2012 10:17 AM |
iPad I found the uwnated blank pages before and after for each full-page image on iPad. | Vengadesan | Apple Devices | 1 | 07-07-2011 01:23 AM |
[Old Thread] epub -> mobi conversion; blank page after image | joubert | Calibre | 10 | 03-07-2011 05:26 PM |
Adding cover image | miwie | Library Management | 9 | 03-04-2011 10:39 AM |