View Full Version : Getting iPad to open an ebook at its cover


AlexBell
09-01-2011, 04:33 AM
Before I start, Moderator, would it be possible to add an option when starting a new thread to show that this problem relates to iPads? Like they do on the Apple subforum?

I've just got an iPad, and am trying to work out how to get the ebooks I produce to open at their covers, rather than at a generic cover. I know it is possible since I've downloaded some ebooks from the iBooks store, and they all show in iTunes at their individual covers.

I've opened up one of these files and looked at its content.opf, and have modified the content.opf for one of my ebooks to see if that makes a difference. But it doesn't work; the ebook still shows the generic cover when I open the iBooks library.

I've attached the content.opf file; could some kind soul please look at it and show me what I've done wrong?

Be warned however: I'm having so much problems with Apple ePub that there will be more questions - like Mignon's earlier post about that damn iTunesMetadata.plist file.

Toxaris
09-01-2011, 06:03 AM
You probably mean iBooks instead of iPad, right? The iPad does not have any issues with ePUB, it's the reader application that has.

AlexBell
09-01-2011, 06:38 AM
You probably mean iBooks instead of iPad, right? The iPad does not have any issues with ePUB, it's the reader application that has.

Yes, I'm sure you are right. And I have no idea how many iPad users use iBooks rather than another reader application - I know one person who uses the Kindle app rather than iBooks, but that's a small sample.

But I'd still like to know where I've gone wrong in the config.opf file I uploaded.

Jellby
09-01-2011, 08:50 AM
<meta name="cover" content="img1" />
...
<item id="imgl" href="images/Cover.png" media-type="image/png" />

Note the two red words are not the same (number 1 vs. letter l).

AlexBell
09-01-2011, 07:46 PM
<meta name="cover" content="img1" />
...
<item id="imgl" href="images/Cover.png" media-type="image/png" />

Note the two red words are not the same (number 1 vs. letter l).

Bless you, Jellby! I must have read the markup a dozen times without picking up the error. I've fixed the problem and the ebook now shows its cover in the library rather than the generic cover. Now I know what to do in future.