What version of InDesign? Is the logo an anchored object?
That being said, the easiest thing to do is edit the markup.
Thanks for getting back so quickly, Bob.
I'm using Version 5.5. I have basically the same problem when the object is anchored. In the case below, I created a new paragraph style for the line on which the logo would be anchored, also mapping to the frontmatterlogo entry in my CSS. This time, no paragraph-style-override is added but In Design still adds it's own image dimensions corresponding to the size at which the image was placed in the layout. This overrides the settings in my CSS and, I suspect, might be what's allowing the Kindle settings to take over as well. I had kind of resigned myself to fixing this in the code on a book by book basis, which is fine if the only images the book contains is a cover and a title page logo. But I'm worried about what happens when I have to create an e-pub from a photo-heavy book. You can see how it would be ideal to create a few specific object styles for different image situations in In Design and have them map them to specific div styles in my CSS. Basically it's a workflow issue. This would minimize the amount of after-the-fact coding our already swamped designers would have to do.
It's so obvious in the code where the problem lies, and so I just have a feeling that there may be a simple fix. If only I knew why In Design felt obliged to specify the image size.
<?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">
<link href="template.css" rel="stylesheet" type="text/css"/>
<div id="Titlepage2-1.html" xml:lang="en-US">
<h1 class="fulltitle">Far North</h1>
<h2 class="author">MARCEL THEROUX</h2>
<p class="frontmatterlogo"><img class="frontmatterlogo" width="196" height="20" src="images/HarperPerennialClassic_fmt.jpeg" alt="HarperPerennialClassicsLogo.jpg"/></p>
CS5.5 dramatically improved EPUB export but it certainly didn’t perfect it.
Agreed. And I guess it's a touch of laziness on my part, wanting to have In Design do all the work.
Thanks for your input on this. I'll keep tinkering and see if I can't blindly hit on an answer through trial and error.
1 person found this helpful
As you say, this is only happening on the Kindle.
Have you checked out Liz Castro’s blog? I’m not sure if she’s discussed this at all but it’s worth visiting there: http://www.pigsgourdsandwikis.com/