Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 08-09-2017, 07:49 PM   #16
dbird
Junior Member
dbird began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2017
Location: Phoenix
Device: Kindles
Quote:
Originally Posted by theducks View Post
Calibre (and Sigil)expects you to insert the image INTO the (placements) controlling block. eg you might want to 'float' it, scale it...
That makes perfect sense now.

You guys have been giving me advice based on correct html application (thank you, I've been doing some tutorial stuff to understand better), and I didn't see the connection with calibre, since that was not the cause of the error.

Calibre would not catch an error that was simply a degree of freedom. And, it obviously does not give diagnostic info for something that is OK if it is done with the app in the first place.

My only beef might be that it is not at all obvious that the book structure is a function of how the partxxxx.html subfiles are created, and is potentially changed when the book is reopened. That may be unique to the .azw3 file type.
dbird is offline   Reply With Quote
Old 08-09-2017, 08:56 PM   #17
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,470
Karma: 84000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
The links to images shown by the calibre editor for azw3 files (src="../images/00001.jpeg") are a fiction, used to make the links to appear in a familiar way to those who understand epub. In actuality azw3 has no images folder and references images using a sequence number and mime type (src="kindle:embed:0001?mime=image/jpg").

Last edited by jhowell; 08-09-2017 at 09:03 PM.
jhowell is offline   Reply With Quote
Old 08-11-2017, 12:47 AM   #18
dbird
Junior Member
dbird began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2017
Location: Phoenix
Device: Kindles
Thanks to all the contributors to this thread. For me, it has been a productive learning experience. Especially in my research to understand what you are talking about. Thanks again.
dbird is offline   Reply With Quote
Old 10-10-2017, 02:22 PM   #19
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Here are examples of CSS codes for images (larger images):

.image1 {
display: block;
text-align: center;
padding: 0;
margin: 0;
}
.image2 {
height: 100%;
max-width: 100%;
}

Here is the code I use in the HTML files:

<div class="image1">

<img alt="Image" src="image.jpg" class="image2"/>

</div>

When the image is a small image file for a publisher or something similar, use the following CSS rule for "image2":

.image2 {
height: auto;
width: auto;
}
deback is offline   Reply With Quote
Reply

Tags
error, image, resource

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlighting linked text Julanna ePub 26 11-09-2014 04:32 PM
Linked TOC -- code GraciousMe Sigil 4 11-20-2012 03:24 AM
Linked endnotes in epub virtual_ink ePub 30 08-30-2011 04:47 PM
Book Designer and linked footnotes Patricia Workshop 2 12-04-2009 01:02 PM
How to create linked TOC? squawker Sony Reader 1 03-04-2007 08:20 AM


All times are GMT -4. The time now is 11:30 AM.


MobileRead.com is a privately owned, operated and funded community.