View Single Post
Old 05-05-2016, 08:34 PM   #1
heulwen.jones
Member
heulwen.jones began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2014
Device: Kindle Fire, iPad
ePub - Image width bug in iBooks fixed?

Hi there,

Over the last couple of years I have been creating a separate ePub file for iBooks (as separate to a standard ePub file for other eReaders) to cater for the following:

1. Move image width into a surrounding <div> tag (rather than in the image tag itself) to workaround iBooks sizing bug. In the standard (non-iBook) ePub I have the img in a <p> tag with the image width directly in the img tag.

2. I also made use of a couple of iBook features not available on many other eReaders - ability to group content using 'page-break-inside:avoid' and the ability to have multiple levels in the navigational TOC.

Anyway I've noticed that if I now view the standard ePub in iBooks all the image sizes are correct (even though the the image size is in the img tag and there is a surrounding p tag instead of div).

So it seems the image sizing bug in iBooks is now fixed, sometime in the last 12 months or so?? Has this been other people's experience?


Many thanks, Heulwen
heulwen.jones is offline   Reply With Quote