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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2010, 07:54 PM   #1
graywolf336
Junior Member
graywolf336 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2010
Location: Lansing, KS
Device: iPad
Full page images

I've searched this forum and searched this forum for the correct answer, but have yet to find an answer to really help me. Here's what is happening.. I've got a PDF file that I'm converting to ePub for an author and he has tables in the book, except they are turned landscape and in my mind impossible to use normal tables. Here's a picture of one of them.



Maybe there is a way to do this with a regular table via XHTML and CSS, but the many years of web developing that I've done I've never figured out how to do it. So what I did was create an image of it and insert it into the ePub. Now it was quite a few pages, 37. I got the images to display one per page in iBooks for the iPad, but once tested in Stanza it cuts the images in half and then tried it in Adobe Digital Editions and it cuts the bottom half off of the images and the next page starts up with another image.

I've used Sigil for most of this, and after tons of hours of research I have yet to find out what I'm doing wrong. I know I'm doing wrong and need help... I'm all open to help. Normally I would upload the ePub, but this book is copyrighted so I can't but I can do somethings to work around if need be.

The code I've got for the images is

Code:
div.inline {page-break-inside: avoid; margin: 0.5em 0; text-indent: 0; text-align: center; clear: both; }
div.inline img {page-break-inside: avoid; max-height: 100%; max-width: 100%;}
Code:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis luctus imperdiet purus ut accumsan. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam vel augue odio, id fermentum ligula.</p>
<div class="inline">
<img alt="" src="../Images/compare01.png" />
<img alt="" src="../Images/compare02.png" />
<img alt="" src="../Images/compare03.png" />
<img alt="" src="../Images/compare04.png" />
</div>
What am I doing wrong? Thanks in advance!
graywolf336 is offline   Reply With Quote
Old 11-16-2010, 04:49 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You are not doing anything wrong, there's just no reliable way to control anything related to page height in current ePUB. Note that, unless you assign an explicit height to the container (div.inline in your case), relative heights refers to the page width, that is, in a well-behaved reader you "max-height: 100%; max-width: 100%" means that the image should fit in a square page-width side. It appears ADE just ignores the the height, which might be allowed if one carefully reads the CSS spec (I don't know).
Jellby is offline   Reply With Quote
Advert
Old 11-17-2010, 01:17 AM   #3
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
I made a similar plea here a week or two back. I've been using tables, but only 3 columns.

You are going to tear your hair out especially noting the content. Most of these books are formatted as a favour not a price.

How many rows are there? Because table headers don't work.

If it's of any help have a look at what I did for a three column table.

Check out chapter 3. By the way, pictures in tables do not view in iBooks. Every other reader though.

What I'm after is feed back from people with readers I don't have. That's all of them except and iPad.
wannabee is offline   Reply With Quote
Old 11-17-2010, 02:05 PM   #4
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Maybe it could be represented as a list instead of a table?

Text as images is always a bad idea... most readers don't handle images well at all.
frostschutz 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
Remove Page Break after Images luthar28 ePub 17 04-05-2017 03:16 PM
how to get page breaks before and after images (using epubs In & Out) lhgrappler Calibre 9 10-06-2010 11:57 AM
Full-Screen images on the K2? Thorkin Amazon Kindle 1 03-12-2009 07:48 PM
7500 Page turns on a full battery Frogsmasha Sony Reader 51 03-15-2007 10:42 AM
Can Plucker flip a full page? Muximori Reading and Management 4 12-26-2005 10:22 PM


All times are GMT -4. The time now is 11:31 AM.


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