Making Your Cover Image Show Up In Preview Views

As longtime followers of this blog know, I think cover images are A Big Freaking Deal with eBooks.  I like seeing the book covers – both when I first start reading a book… and as a preview.  When you load (or sideload) an eBook and just get the default cover, it looks… unprofessional.  Doesn’t matter who made it, it just looks cheap.

And, to my chagrin, I’ve been doing it wrong.

Luckily, the fix is a simple tweak to content.opf. Previously, I told you to do this:

<meta name="cover" content="images_blahblah.jpg"/>

Yeah, no. Change it to this instead:

<meta name="cover" content="cover-image"/>

and then when you’re declaring your images, make sure you declare it as cover-image, like so:

<item id="cover-image" href="images/9781939840004.jpg" media-type="image/jpeg" />

I’ve updated my helper script to do this automagically – if you’re on a Mac or *nix, you can use it. And if you want to see the whole content.opf, my default style.css, and (and my other eBook utilities), swing on by this GitHub repository.

Writing, Critiquing, and Challenges, oh my!

I've not been making the posts recently, but the challenge has still been going strong. Come write with us this
Read More
<span class='p-name'>Writing, Critiquing, and Challenges, oh my!</span>

Tracking, Advertising, Your Privacy, and this blog

Given the (hopefully temporary) defeat of net neutrality in the United States and my evolving desire to protect your privacy,
Read More
<span class='p-name'>Tracking, Advertising, Your Privacy, and this blog</span>

Four Things To Do on World Refugee Day

About every other post or tweet/toot thread I see about the way the US is treating families of immigrants has some variation of this: "But what can we do?" Here's four ways.
Read More
<span class='p-name'>Four Things To Do on World Refugee Day</span>

Never forget: This land was made for you and me

I'd like to remind you that with countries, just like people, it's easy to let the best of yourself slip away. This land was made for you and me.
Read More
<span class='p-name'>Never forget: This land was made for you and me</span>

It is time to stand.

Read More
<span class='p-name'>It is time to stand.</span>

Neo-Confederate = Current Racist

"Neo-Confederate" is an ugly euphemism, nothing more.
Read More
<span class='p-name'>Neo-Confederate = Current Racist</span>

A Father’s Day Wish. Copy, share, repeat.

Read More
<span class='p-name'>A Father’s Day Wish. Copy, share, repeat.</span>

Weekends are writing time.

The challenge has still been going strong. Come write with us this weekend!
Read More
<span class='p-name'>Weekends are writing time.</span>

There is no perfect candidate. There is only the best one available.

Oh. My. Sweet. Lord. We're already seeing it. The threats that if Democrats aren't "pure" enough, then they're not getting the
Read More
<span class='p-name'>There is no perfect candidate. There is only the best one available.</span>

If there’s one Nazi (or a racist) at the table…

Because this post by David Avallone needs signal-boosted outside of Facebook (or Twitter) alone: "As we say in Germany, if there’s
Read More
<span class='p-name'>If there’s one Nazi (or a racist) at the table…</span>

Popular posts:

  • HOWTO Make Your Hamburger Helper Better
  • If there's one Nazi (or a racist) at the table...
  • The Songs That Chronicle Our Lives
  • Word Porn Quotes
  • I am not a number; I am a free man, OR, why you should never rely on social media
  • It's not being "Awkward", and the difference between Excuses and Explanations
  • I really like you, but I have to break up with you before I don't.

2 Comments

  1. February 28, 2013

    Is this what was causing the error you mentioned in an earlier post, the one about cover displaying differently in different versions of Kindle?

  2. February 28, 2013

    Unfortunately, I don't think so. I'm pretty sure that's just a resolution issue – or more accurately, an aspect ratio issue.

Comments are closed.