View Single Post
Old 11-12-2020, 11:21 PM   #1
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Polish Cover didn't quite work

Hello,

I normally use the Polish feature in calibre to update the cover image in the ebook. This has worked rather well in the past.

Today when I used "Polish" "update the cover in book file" the cover image doesn't appear correctly in Adobe Digital Editions 4.5.8.

Here is the code from the Calibre "Edit Book" for the cover image prior to using "Polish."

Code:
<body epub:type="frontmatter">
<div class="cover" id="cover">
<img alt="image" src="../images/9780062941473_Cover.jpg"/>
</div>
</body>
This is the code after using "Polish" update cover image.

Code:
   
 <body>
        <div>

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink" 
width="100%" height="100%" 
viewBox="0 0 1350 2040" preserveAspectRatio="none">
 
<image width="1350" height="2040" xlink:href="../images/cover.jpg"/>
            </svg>
        </div>
    </body>
I've attached a screenshot of what this cover looks like in Adobe Digital Editions. The cover looked fine in "Edit Book" and in the Calibre "Viewer" so I'm not sure what went wrong with Digital Editions.

I'd appreciate any and all help in solving this mystery.

Best Regards,
Amalthia
Attached Thumbnails
Click image for larger version

Name:	masterofone-cover.JPG
Views:	293
Size:	91.3 KB
ID:	183361  

Last edited by Amalthia; 11-12-2020 at 11:22 PM. Reason: fixing the code so the lines don't run off the page
Amalthia is offline   Reply With Quote