|
|
#1 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle Fire, iPad 2
|
|
|
|
|
|
|
#2 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,714
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Yes/No/Maybe
We aren't deities. You need to show us the code (from <head> to just past the first text that shows), the CSS sections for all classes referred in the code, AND the image size info. Then we can make an informed comment. BTW If it ONLY misbehaves on a single device family, the problem is probably a quirk. There may be a work-around. Calibre and Sigil use the same render engines, so the count is only 1 test. (Quirky) ADE is a good test as many devices use that.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle Fire, iPad 2
|
So there was no blank page after the cover page in ADE. I went back and examined the code some more and for some reason Sigil was throwing in a   which was causing the iPad to display a blank page. I should have just viewed the ePub in ADE before posting. I just rarely view ePubs in ADE because of the way it sometimes displays things different than the iPad does. I proof everything directly on the device. Thank you!
|
|
|
|
|
|
#4 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,714
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
I am in the Minority, but IMHO the image should NOT be 100% of the screen size, but something slightly less, just for those cases where 1 line pushes it over the edge.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#5 |
|
Book Twiddler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 973
Karma: 1087515
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
In some readers, 100% of the screen size will cause to image to bleed onto the following page over the text with both displayed. Even 595 of 600 pixels can do it, so some care is required.
|
|
|
|
|
|
#6 | |
|
eBook pro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
|
Quote:
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. |
|
|
|
|
|
|
#7 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
In the future, instead of assume the iPad is the app you are using, just say the app you are using.
__________________
|
|
|
|
|
|
|
#8 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
I have never had a problem with the image being 100% and this includes Bluefire and iBooks. What app/program are you using that causes a blank page with a 100% image height?
__________________
|
|
|
|
|
|
#9 | |
|
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,537
Karma: 1931571
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 4 Silver, 2 Blue!; Kobo Glo
|
Quote:
This code forced a blank page after the cover: <body> <p class="sgc-1"><img alt="" src="../Images/image001.jpg" /> </p> </body> Removing the so that the code read like this also forced a blank page after the cover: <body> <p class="sgc-1"><img alt="" src="../Images/image001.jpg" /></p> </body> Changing to this fixed the problem: <body> <div> <svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 443 747" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"> <image height="800" width="475" xlink:href="../Images/cover.jpeg"></image> </svg> </div> </body> Btw, the " wasn't causing the blank page either, I even removed that at first thinking it was the problem, but even without it, it still always forced a blank page after the cover, and that blank page appeared in Calibre's viewer as well as on my ereader. Last edited by Ripplinger; 01-07-2013 at 03:31 AM. |
|
|
|
|
|
|
#10 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 309
Karma: 1489094
Join Date: Nov 2011
Device: none
|
|
|
|
|
|
|
#11 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
Oh and turn off tidy so it prevents making sgc-1 type styles.
__________________
|
|
|
|
|
|
|
#12 |
|
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,537
Karma: 1931571
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 4 Silver, 2 Blue!; Kobo Glo
|
The sgc-1 was simply center and nothing else.
p.sgc-1 {text-align: center;} The stylesheet for p had no top or bottom margins that might have done it. p { text-indent: 2em; text-align: justify; font-size: 1em; margin-top:0; margin-bottom:0; } I really couldn't see any reason for the blank page, but the other code didn't produce it, so I was happy with figuring that much out. Actually, I opened another book that didn't have the blank page after the cover and used that code, not that I figured it out on my own .
|
|
|
|
|
|
#13 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Even if that had worked, you'd have the image off by 2em from center.
__________________
|
|
|
|
|
|
#14 |
|
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,537
Karma: 1931571
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 4 Silver, 2 Blue!; Kobo Glo
|
Yes, it was a really early copy of the book that I saved just to see previous screwups hehe... but it's not really noticeable for the image. But that 2em wouldn't force the blank page after the cover though.
It's funny that when I have centered text that happens to have code shifting it a bit to the right, it sticks out like a sore thumb to me and I can't stand to leave it that way, I adjust the code for it. But I really don't notice the difference on an image. Last edited by Ripplinger; 01-06-2013 at 07:37 PM. |
|
|
|
|
|
#15 | |
|
Antique Newbie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 308
Karma: 1531006
Join Date: May 2011
Location: JAPAN (us expatriate)
Device: Sony PRS-TI
|
After being bugged by off-center images, I finally figured it out to add text-indent:0 to stylings for images. I wish it would be that way by default when you use "center", but oh well, live and learn.
Theducks said Quote:
__________________
Only one thing is impossible for God: to find any sense in any copyright law on the planet. --Mark Twain |
|
|
|
|
![]() |
| Tags |
| sigil cover image |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image (was Sigil) creates a blank page | p3aul | ePub | 3 | 09-26-2012 10:17 AM |
| Page blank before and after book image page | osiris12 | Sigil | 10 | 12-22-2011 09:34 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 |