![]() |
#1 |
Star-gazer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 16700
Join Date: Jun 2012
Location: Tír na nÓg
Device: Samsung Galaxy Tab3 (Retired Pandigital)
|
Inserting images into MetaData Comments Field in Calibre
QUESTION: How do you insert images into the comments section, when editing metadata, so that they show up in the actual ebook?
When I edit the metadata in Calbire (of an ebook), I add info to the “comments” box. Usually text, and images. When I finish editing all the meta data, I convert the ebook, and use the option to insert the metadata as the first page in the ebook. Normally, all the data I entered shows up when I load the converted ebook onto my reader- except images in the comment field. The images, and some of the formatting of the comments, disappear on the actual ebook, even though they show up when I initially add them into calibre. For example, I'll choose to center text, but it shows up L-R on the actual ebook. Some formating goes through- text color, for example. The “comments” box in the metadata section actually has a toolbar for formatting (centering text, text and background color, etc.)- and when I'm in Calibre, it always shows the images I add, and the proper formatting- but so I know there must be a way to make it permanent. But once I convert it, adding the metadata as the first page, and I send the ebook to my device, the formatting goes to L-R for text, and images just disappear. I'm almost always converting epub to epub, in case that matters; the conversion is just to update the metadata. Any help would be hugely appreciated. Thanks ![]() |
![]() |
![]() |
![]() |
#2 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() if you source the image from the 'net, it will show in Comments but not in book jackets - if you think about that sort of makes sense if you source the image from a file, it will show in Comments and it will be in the the book jacket - but you need to use file:/// eg Code:
<img src="file:///C:/_Sandpit/test.jpg" alt="My Picture" width="400" height="600"> Hope that helps you a bit, your post helped me solve another puzzle ![]() BR Last edited by BetterRed; 08-04-2013 at 09:47 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You need to embed the image into the book, Edit the <img src line and edit the Manifest, or you could use an editor like Sigil. BTW you do NOT need to convert to update the jacket in the Library copy. Polish or Modify EPUB (PI) will do that without touching other parts of the book. |
|
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I can put pictures into comments, from the 'net and from a local file Here's a picture from the 'net you can try, put the following into an empty Comments Code:
<div> <p>from Alexander Turcic's calibre post</p> <img src="https://www2.mobileread.com/upload/news/2013-07/gui.jpg" alt="Cover MB" width="400" height="300"> </div> To use a local picture use file:///<path> - note the triple slash, and make sure its a valid URI - i.e. substitute %20 for space etc - see previous post for sample I see the picture in Comments in Book Details - and when I convert the book with Structure Detection_>Insert metadata checked I see the picture in the jacket But on looking closer - I see that the image is not actually embedded in the book - the book references the original file - delete the file or send/copy the book to a device and you won't see it in the jacket ![]() So whilst you can put pictures in Comments, the pictures will not be copied into the book - which was what the OP said in the first instance - I think ![]() BR |
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
BR
What I was implying (poorly ![]() Calibre only inserts images that are part of the book or are managed by Calibre. Cover.jpg is the only image that Calibre manages. What I was also implying, was any additional 'Jacket' images were going to need to be hacked into the book directly. The implication, is that Calibre should prevent a 'comment' mode that it is not willing to support (pass thru on conversion). What you see is what you will see later ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I quite like the idea of having images in Comments, but calibre should ignore <img src «everything»... when it converts, at the moment it only seems to ignore <img src html://... - hence my confusion. When the 'net image didn't show up but the file images did, I thought - oh look, its copied the file pictures into the book. I rationalised the fact that it didn't copy the 'net image with some muddled thinking about copyright :lol: BR Last edited by BetterRed; 08-03-2013 at 08:48 PM. |
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
BR
I always think of my Library being 'Offline', so it would not occur to me to have dependent content anywhere else. References (links) to content implies the NET access will be needed. The same goes for my reader: The PEz only has USB (drive mode) connectivity and that is only available when the Reader function is not available. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,629
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@kovidgoyal
![]() @slammerkin - there you go, you'll have it on Friday @theducks ![]() BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting images into Metadata | slammerkin | Calibre | 1 | 06-02-2013 10:13 PM |
Edit Metadata | Comments field focuse -> close window | copyrite | Calibre | 2 | 08-08-2012 02:38 PM |
Images in an ePub lost when inserting it in Calibre | jmatute | Conversion | 6 | 07-06-2011 02:04 AM |
PRS-600 PRS-600, calibre and comments field | mfabry | Sony Reader | 0 | 12-18-2010 06:41 AM |
Bug? "Insert metadata as page at start of book" doesnt encode Comments field properly | rollercoaster | Calibre | 2 | 04-24-2010 10:40 PM |