Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2013, 07:15 AM   #1
mp.
Junior Member
mp. began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
Download Images Manually

Is there any way to download images manually? I fetch article images from the feed and want to use them as toc images for Kindle, but add_toc_thumbnail() needs the image to be already downloaded. It would be great if it were possible to download images without adding them to the HTML previously.
mp. is offline   Reply With Quote
Old 07-09-2013, 07:26 AM   #2
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Simply add your images to the html in preprocess_html, then they will be downloaded as normal and can be used in add_toc_thumbnail()
kovidgoyal is offline   Reply With Quote
Old 07-09-2013, 09:10 AM   #3
mp.
Junior Member
mp. began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
If I remove the images in postprocess_html() then, the image is not downloaded.
mp. is offline   Reply With Quote
Old 07-11-2013, 08:02 AM   #4
mp.
Junior Member
mp. began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
As I understand, the image must be contained in the article's HTML - when it's passed to the converter - to be displayed in the toc. (right?) Is there a way to hide the image in the article? Any chance?

#mp.

Last edited by mp.; 07-11-2013 at 12:43 PM.
mp. is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for download/update metadata library manually stanmarsh Library Management 0 03-18-2013 04:41 AM
Manually Anchor Images to Text drummerboy ePub 3 08-14-2012 05:36 AM
How to force calibre to download images? fenuks Recipes 6 02-10-2012 12:55 PM
Troubleshooting Manually setting clock Kumabjorn Amazon Kindle 7 08-09-2010 09:11 AM
manually editing database teje Calibre 9 02-05-2010 02:11 AM


All times are GMT -4. The time now is 09:48 AM.


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