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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2012, 11:27 PM   #1
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Why convert html to mobi can't get the image

Why convert html to mobi can't get the image through the <img src= ""> tag?

My question is :
I grab the rss message from the website,then save the message as a html file.I use calibre CLI "ebook-convert input.html output.mobi" to convert html to mobi,I copy the mobi file to my kindle, but there is no image in the converted mobi file .

who can help me? thinks for advanced!!!!
kindleren is offline   Reply With Quote
Old 02-21-2012, 03:15 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 3,932
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Any image files need to be local to yor PC - calibre does not grab images from the Internet. I am guessing that the way you created the HTML had not pulled down the images so that they were local files?
itimpi is offline   Reply With Quote
Old 02-21-2012, 09:55 PM   #3
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:
Originally Posted by itimpi View Post
Any image files need to be local to yor PC - calibre does not grab images from the Internet. I am guessing that the way you created the HTML had not pulled down the images so that they were local files?
Think you . I will try to pulled down the images. I hope it will be work.
kindleren is offline   Reply With Quote
Old 02-22-2012, 09:20 AM   #4
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:
Originally Posted by itimpi View Post
Any image files need to be local to yor PC - calibre does not grab images from the Internet. I am guessing that the way you created the HTML had not pulled down the images so that they were local files?


Hi, it works when pulled down the images.
But when I convert html to pdf without pulled down the images,it still work.So I am guessing that the calibre can grab images from the Internet. But why the calibre does not grab images when convert html to mobi ?
That's amazing!!
kindleren is offline   Reply With Quote
Old 02-22-2012, 10:18 AM   #5
PaulPosition
Enthusiast
PaulPosition began at the beginning.
 
PaulPosition's Avatar
 
Posts: 31
Karma: 16
Join Date: Feb 2012
Location: Montréal
Device: Sony PRS-T1
Could it be the .pdf format allows (external) linked images while .mobi doesn't?

That 'magic' pdf you've created, does it show the images if you disconnect from the internet before opening it for reading?
PaulPosition is offline   Reply With Quote
Old 02-22-2012, 10:47 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 24,766
Karma: 4369667
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It works because the pdf output plugin in calibre uses a nrowser to render the thml as pdf. The browser downloads images from the internet automatically.
kovidgoyal is offline   Reply With Quote
Old 02-23-2012, 03:16 AM   #7
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:
Originally Posted by PaulPosition View Post
Could it be the .pdf format allows (external) linked images while .mobi doesn't?

That 'magic' pdf you've created, does it show the images if you disconnect from the internet before opening it for reading?
Yes,it show the images when my kindle disconnect from the internet.
kindleren is offline   Reply With Quote
Old 02-23-2012, 03:22 AM   #8
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:
Originally Posted by kovidgoyal View Post
It works because the pdf output plugin in calibre uses a nrowser to render the thml as pdf. The browser downloads images from the internet automatically.
So ,the mobi output plugin in calibre different from the pdf. I still need to pulled down the images by myself when convert html to mobi.
kindleren is offline   Reply With Quote
Old 02-23-2012, 03:44 AM   #9
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:
Originally Posted by kovidgoyal View Post
It works because the pdf output plugin in calibre uses a nrowser to render the thml as pdf. The browser downloads images from the internet automatically.
Mr.kovidgoyal.I have some suggestions for the calibre creators.
Although,there is a calibre User Manual,but it does't detailed .
Such as, although I can find a command function like this "ebook-convert --level1-toc",but I can't easy to know the parameters for this function.So I hope the user manual will have some examples for every command function.
Think you!
kindleren is offline   Reply With Quote
Old 02-23-2012, 09:19 AM   #10
PaulPosition
Enthusiast
PaulPosition began at the beginning.
 
PaulPosition's Avatar
 
Posts: 31
Karma: 16
Join Date: Feb 2012
Location: Montréal
Device: Sony PRS-T1
More than half the pages in the calibre user manual are filled with command-line triggers and their parameters.. -- The table of content will help you find your way through there.
PaulPosition is offline   Reply With Quote
Old 08-25-2012, 02:02 PM   #11
bilgisiz
Member
bilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipsebilgisiz can illuminate an eclipse
 
Posts: 17
Karma: 8252
Join Date: Jan 2011
Device: kindle 3.0.2 529960105
I have the same problem.

This is the html file i want to convert : http://www.mediafire.com/?m7lc299q4qivz2r

An this is the converted mobi(it has no image) : http://www.mediafire.com/?vd2125ay0f54826
bilgisiz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attempting to convert HTML to MOBI exxyea Conversion 3 01-03-2012 01:05 PM
convert html to mobi for kindle2 vmars316 Conversion 3 05-14-2011 09:19 PM
Importing .mobi cover image from HTML wholcomb Conversion 2 02-17-2011 05:05 PM
Convert HTML to MOBI (HTML recognized as ZIP file) pdubois Conversion 1 01-25-2011 12:55 PM
Can you convert mobi prc to html? Stuart Young Bookeen 6 02-12-2008 03:34 AM


All times are GMT -4. The time now is 02:30 PM.


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