Thread: Images Sizes
View Single Post
Old 09-02-2024, 02:56 PM   #1
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
Errors converting from ePub to AZW3

I am essentially done with the book (famous last words) and all looks good in preview. I'm working with an ePub file. When I convert to AZW3 several errors occur.

1. The font I am using for chapter titles, etc., and which is embedded, does not show.

2. I am using three sizes for images, 50%, 70%, and 90% wide. Only the 50%-size images display properly. The others display full-width. The captions that go with my images display properly.

I looked at the AZW3 code and the image sizes I specified are there. Those did not change, but my Kindle displays the 70 and 90% images full-page.

3. Another item, I'd like the book to open to the cover. At this time it opens to the title page.

4. And finally, for now, I'd like the cover page to display in the "From Your Library" page. At this time it is displaying a generic cover. I copied the book from my computer to my Reader via the USB port. Maybe there is another step in the process that I missed.

Anyway, other than these few items, which I have wrestled with for hours, this is all that is keeping me from finishing this eBook.

Thanks in advance for your help.

Some code, starting with CSS:

img.Image_Style_90
{
border: none;
width: 90%;
}

/* These are for multi-line captions that will be formatted as paragraphs. */
p.LongCaption_90
{
text-align: left;
text-indent: 0px;
font-family: "Palatino Linotype", serif;
font-weight: normal;
font-style: normal;
font-size: 80%;
width:90%;
margin-left:5%;
margin-bottom: 6px;
}

Here is a sample HTML
<div class="Image_Wrapper">
<span class="Image_Box">
<img src="../Images/02-Mama_Grannys_House.jpg" alt="Momma Granny's Home." class="Image_Style_90"/>
</span>

<p class="LongCaption_90">
Momma Granny’s house, on 1308 Speedway Street (now Parkway Street) is where the younger Tacker boys were raised. Located on the northeast corner of town, it was within easy bicycling distance to the Roscoe Turner Airport. The house is now gone. It burned down years ago and the address is now a vacant lot.</p>
</div>
m610 is offline   Reply With Quote