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-04-2011, 02:24 PM   #1
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
Looping jpegs in epub ID 5.5

Hi.

I am working on a children's picture-book consisting of 17 jpegs - no text. I used the current trial version of ID to create the epub which validates perfectly at threepress and displays correctly on Adobe Digital Editions. The problem is that when I view it on my NookColor the pages don't work properly when trying to back-up in the story. Often a single page will repeat - kind of like a stuck record - and when you get to the last page you can't back-up unless you go through the Content navigation on the Nook to get to a specific page. It almost seems like it's stuck in a loop...


If the problem is not my Nook - which has 95% free space and has not exhibited this behavior with any other epub so far - is there any part of the code I should be looking at to find this sort of problem?

Someone on Adobe's InDesign forum directed me to this site. He thought the issue might be in the .css.

Any help or suggestions are very much appreciated.

Thanks,
julie
jheart is offline   Reply With Quote
Advert
Old 11-04-2011, 03:18 PM   #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,062
Karma: 9175645
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I guess you have a single XHTML file with all the pictures one after the other. Try putting each picture in its own XHTML file instead, that should work better. I don't know how to do it with InDesign, though.
Jellby is offline   Reply With Quote
Old 11-04-2011, 04:21 PM   #3
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
Hi, Jellby. It's not a single file but 17 seperate files. Thanks for the input though...

julie
jheart is offline   Reply With Quote
Old 11-04-2011, 04:43 PM   #4
amyg
Enthusiast
amyg is on a distinguished road
 
Posts: 39
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
One of the things indesign 5.5 does that isn't always ideal is give your images a size in the html. This causes the reading device to try to display the images at that pixel size no matter whether it fits or not. Maybe that's causing your issues with the nook. I think if you take the size out (e.g. width="800" height="600"), it might fix your problem. I think you have to do that by editing in the html files. I have not figured out how to get InDesign to output pictures without the size tags.
amyg is offline   Reply With Quote
Old 11-04-2011, 05:35 PM   #5
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
hi, amyg.

i actually ended up exporting the whole thing to epub then renamed to zip extension so that i could swap out the image files because my book came out looking faded and sun-baked after compiling in ID. i checked the dimensions, ppi and file name before swapping and made sure the code matched the contents of the Image folder. long story short i spent several days making sure that part of it was good.

thanks for your time & input,

julie
jheart is offline   Reply With Quote
Advert
Old 11-04-2011, 06:27 PM   #6
amyg
Enthusiast
amyg is on a distinguished road
 
Posts: 39
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
I'm not saying to make the images size tags the same as the actual image but to take them out altogether. I think if your images are too big for the device, it will cause problems. Better not to designate a size at all. That way, your images can resize to fit the device. Or try this code on the css style sheet:

img {
max-height: 100%;
max-width: 100%;
}

Last edited by amyg; 11-04-2011 at 09:16 PM.
amyg is offline   Reply With Quote
Old 11-05-2011, 11:30 AM   #7
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
Hi, amyg...

So, if you use the code above in the style sheet do you also take the pixel dimension paramaters out of the xhtml code for each image? I have tried that code before but didn't think about removing the dimensions from each page. When I tested it all I got was blank pages - I wonder if that is why? Could you post an example of what the code for each image might look like with and without it?

Sorry if this is an obvious answer...

Thanks for the suggestion.

julie
jheart is offline   Reply With Quote
Old 11-05-2011, 11:47 AM   #8
amyg
Enthusiast
amyg is on a distinguished road
 
Posts: 39
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
Well, somewhere in your img tag (after <img but before the closing >) you might see two parameters width="something" and height="something" in your xhtml pages. Try taking those out. I'm not sure if this is really your problem. It's just a guess and worth a try.

Amy
amyg is offline   Reply With Quote
Old 11-07-2011, 11:56 AM   #9
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
Hi, Amy. I will give this a try. Thanks...

julie
jheart is offline   Reply With Quote
Old 11-07-2011, 02:26 PM   #10
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
Hey, Amy. Would you replace the pixel dimension with a zero or just take the whole line out?

Thanks again,
julie
jheart is offline   Reply With Quote
Old 11-08-2011, 04:09 AM   #11
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,062
Karma: 9175645
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Just remove them:

Code:
<img src="imagefile.jpg" alt="Some description if needed" />
and

Code:
img {
  max-height: 100%;
  max-width: 100%;
}
Jellby is offline   Reply With Quote
Old 11-08-2011, 11:09 AM   #12
jheart
Junior Member
jheart began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: NookColor
thanks, Jellby.
jheart 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
JPEGs choppy/fuzzy in epub MichaelKaufman ePub 9 10-06-2011 01:06 PM
jpegs? hunterxhunter21 Amazon Kindle 2 11-03-2009 08:00 AM
How to create a PDF out of JPEGs Canuck_in_Japan PDF 6 07-22-2009 04:06 PM
Recipe help needed for looping through sections of a website Acey Calibre 1 10-16-2008 01:09 PM
Issues with JPEGs to LRF shousa Sony Reader 8 01-22-2008 08:10 PM


All times are GMT -4. The time now is 06:13 PM.


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