![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
![]()
There seems to be more action here than in the Editor sub-forum, hence my question. I'm editing a new book that contains and identifies cover.jpg but there is no reference to it. Selecting Tools => Add a cover, points to the image but then what? Do I create an empty file, i.e., text/cover.html? Then what?
Calibre's manual on the subject is meaningless to me: This allows you to either choose an existing image in the book as the cover or import a new image into the book and make it the cover. When editing EPUB files, the HTML wrapper for the cover is automatically generated. When the exising image file is selected, nothing is automatically generated. I'm sure I am missing something but it is not obvious to me. |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Moderator Notice
Moved to Editor subforum, BR |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
How I do it (when I don't use Calibre to add Metadata and Cover)
1) File Add:Empty HTML file 2) File Add Existing (Image) (as needed) 2b) Right-click the (cover) file in the book browser: mark as cover 3) Place the image in the HTML file (icon looks like a picture of a mountain) 3b) Style the image (SVG wrapper) 4) Right-click the (cover) HTML file in the book browser: Add semantics:Cover |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Thank you, @theducks.
An image file marked as cover was already present. Specifically, i have no idea how to accomplish #3, nor do I know what a SVG wrapper is in #3B. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The HTML file (named titlepage.xhtml) will be auto generated and linked for you. Simply Go to Tools->Add cover select the cover image and click OK
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
Possibly adding the cover image to a page named cover.html would be more logical (to me at least) and/or more obvious |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Thank you, Kovid. This is precisely what led me to post my question. The steps you cite result in a blank page, nothing between <body> and <body>. I'm trying to figure out how to place the image in the blank file. I'll repeat the process when back on the computer but I suspect the result will be the same.
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
@phossler
I always rename from "titlepage" to "cover" as well. |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That sounds like a bug to me, open a bug report and attach an epub file where this happens.
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
![]() To be fair, I should, at the very least, update to the current version and test on more than one book before burdening you with a bug report. |
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
I created a new xhtml file - cover.xhtml I then ran the Tools>Add cover. Nothing happened. v6.23 / Win10 I also rename titlepage.xhtml to cover.xhtml Then I use titlepage.xhtml for the book title/author/publisher you normally see 2 or 3 pages in from the cover of a print book |
|
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
So I first created the cover.xhtml file. Then I ran the tool, selected the image and nothing happened. Nothing was added. It still remained as a freshly created xhtml file. |
|
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
It works as expected here (calibre 6.24). |
|
![]() |
![]() |
![]() |
#15 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Personally, I avoid using file names used/created BY Calibre. This avoids possible clashes.
And Why the need? The viewer uses the Manifest My name convention (strictly for this human) is just an abbreviated name(numbered if needed cvr, cvr-old, cvr-back toc ded cop pro ch001... epi ...you got it |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
e-Book Tools - a Word add-in | Toxaris | Workshop | 745 | 09-17-2024 01:10 AM |
squashed images in Editor/Tools/Reports after search | rjwse@aol.com | Calibre | 1 | 12-18-2019 12:00 PM |
File Type Plugins and Add Format tools | BetterRed | Calibre | 6 | 10-04-2019 07:35 AM |
Editor plugin tools & shortcut keys | jackie_w | Development | 3 | 07-31-2018 09:46 AM |
Java Bytecode Editor + Method Tools | dsmid | Kindle Developer's Corner | 0 | 03-31-2014 04:17 AM |