View Single Post
Old 02-24-2013, 04:47 PM   #1
mtrahan
Colonel Mustard
mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.mtrahan is no ebook tyro.
 
mtrahan's Avatar
 
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
This book cover just doesn't want to work on Kobo... (Help needed!)

Hi guys,

I have a problem: the cover of a book I'm working on just doesn't want to appear on Kobo. This is a complete mystery to me and I'm getting desperate with this one. I've been adding book covers the same way for a while now and I never had any problem until now.

Here is the cover.xhtml file:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Couverture</title>
  
<style type="text/css">
@page {padding: 0pt; margin:0pt}
            body { text-align: center; padding:0pt; margin: 0pt; }
            div { margin: 0pt; padding: 0pt; }

  img.sgc-1 {height: 100%}
</style>
</head>

<body>
  <div><img alt="Couverture" class="sgc-1" src="../Images/cover.jpg" /></div>
</body>
</html>
Can you spot any problem in this code? I also add 'Cover' semantics to the xhtml file and 'Cover Image' semantics to the cover.jpg file.

Unfortunately, I cannot post the file here because of copyright, but I could send it to a person or two directly if anyone is willing to take a look at it.

At this point, I must confess that I have absolutely no idea what could cause the problem: this is happening on two books from the same author, same kind of cover image. So I thought maybe the image files are corrupted or something: I tried another image (another cover that is working in another book) and it doesn't solve the problem.

If anyone has any idea, please, please, please let me know.



Thanks a lot,

Michael
mtrahan is offline   Reply With Quote