MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Adding Images (https://www.mobileread.com/forums/showthread.php?t=170291)

Freeen 02-25-2012 05:54 PM

Adding Images
 
I'm new and not sure if this is the proper area in which to put my thread, so please bare with me.

I've been using calibre to format my ebook to place in my Kindle Fire. Though I'm fairly certain I've learned how to do most of the important things, it appears I can't get my ebook's internal images to display in either the calibre reader or my Kindle. Everything else is formatted fine and it looks great, but the images are not there. Please help.

I've insured that the jpg files are in the folder and are sized correctly, but they just don't carry over to the finished product.

theducks 02-25-2012 09:25 PM

Quote:

Originally Posted by Freeen (Post 1980340)
I'm new and not sure if this is the proper area in which to put my thread, so please bare with me.

I've been using calibre to format my ebook to place in my Kindle Fire. Though I'm fairly certain I've learned how to do most of the important things, it appears I can't get my ebook's internal images to display in either the calibre reader or my Kindle. Everything else is formatted fine and it looks great, but the images are not there. Please help.

I've insured that the jpg files are in the folder and are sized correctly, but they just don't carry over to the finished product.

You have not inserted the proper <img> tag into the book, you just have a pile of building materials :D

(I work in EPUB and use Sigil, so I can't provide guidance for Kindlegen)

Freeen 02-26-2012 02:17 PM

Quote:

Originally Posted by theducks (Post 1980572)
You have not inserted the proper <img> tag into the book, you just have a pile of building materials :D

(I work in EPUB and use Sigil, so I can't provide guidance for Kindlegen)

I was under the impression that HTML entries weren't necessary in calibre or mobipocket, just as long as the proper book file containing the images was added, along with the image files, and then build.

I was able to to this with a .pdf file of the book. All of the photos appeared in the final Kindle ebook file. The only problem then was that the text formatting was all messed up.

If html image tags are needed, how do I go about adding the code, and what do I write? I'm not really all that familiar with coding.

theducks 02-26-2012 02:40 PM

Quote:

Originally Posted by Freeen (Post 1981325)
I was under the impression that HTML entries weren't necessary in calibre or mobipocket, just as long as the proper book file containing the images was added, along with the image files, and then build.

I was able to to this with a .pdf file of the book. All of the photos appeared in the final Kindle ebook file. The only problem then was that the text formatting was all messed up.

If html image tags are needed, how do I go about adding the code, and what do I write? I'm not really all that familiar with coding.

Sorry, this is NOT the place for Basic HTML training.

Why not open a few working EPUB (with images :D) and see what they did?
The Tweak (T key) will allow you to explode a EPUB and see the pieces.
These can be opened with a programming language friendly, text editor like Notepad++ or Notepad (without the tag highlighting)

Sigil (I recommend getting the older 5.1 (5.2 and 5.3 are having crash problems). 5.1 has Add file issues and you must use the File New Menu, not the book browser.)

dwig 02-26-2012 04:17 PM

Quote:

Originally Posted by Freeen (Post 1981325)
I was under the impression that HTML entries weren't necessary in calibre or mobipocket, just as long as the proper book file containing the images was added, along with the image files, and then build. ...

Any display app or conversion app needs data in the source file to indicate where the images are to be placed. It isn't magic!

Open your HTML in a standard browser. If the images display properly then calibre should be able to import everything properly and convert to MOBI successfully, images and all. If the images fail to show in a browser then the HTML needs to be fixed before importing into calibre.

Freeen 02-26-2012 07:53 PM

Quote:

Originally Posted by theducks (Post 1981354)
Sorry, this is NOT the place for Basic HTML training.

Why not open a few working EPUB (with images :D) and see what they did?
The Tweak (T key) will allow you to explode a EPUB and see the pieces.
These can be opened with a programming language friendly, text editor like Notepad++ or Notepad (without the tag highlighting)

Sigil (I recommend getting the older 5.1 (5.2 and 5.3 are having crash problems). 5.1 has Add file issues and you must use the File New Menu, not the book browser.)

Besides the crashing issue with Sigil, I've noticed that it changes my text formatting, whereas some of the other programs do not. Thanks for the idea of looking at other ebooks. That should do it.


Quote:

Originally Posted by dwig (Post 1981450)
Any display app or conversion app needs data in the source file to indicate where the images are to be placed. It isn't magic!

Open your HTML in a standard browser. If the images display properly then calibre should be able to import everything properly and convert to MOBI successfully, images and all. If the images fail to show in a browser then the HTML needs to be fixed before importing into calibre.

Thanks. But I realize it isn't magic. I'm a geezer writer and journalist, not a programmer.

Freeen 02-27-2012 06:05 PM

Got it! Thanks for the help. Looks great too, though it's formatted with double spaced paragraphs instead of indentions without paragraph breaks. I saved it to epub and tweaked it in the new 0.5.3 Sigil and then made it a mobil in Calibre, and sent to my Kindle Fire. Images look great.


All times are GMT -4. The time now is 09:26 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.