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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2013, 08: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, 08: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: 26,434
Karma: 5383257
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
 
Advertisement
Old 07-09-2013, 10: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, 09: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 01:43 PM.
mp. 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
Looking for download/update metadata library manually stanmarsh Library Management 0 03-18-2013 05:41 AM
Manually Anchor Images to Text drummerboy ePub 3 08-14-2012 06:36 AM
How to force calibre to download images? fenuks Recipes 6 02-10-2012 01:55 PM
Troubleshooting Manually setting clock Kumabjorn Amazon Kindle 7 08-09-2010 10:11 AM
manually editing database teje Calibre 9 02-05-2010 03:11 AM


All times are GMT -4. The time now is 03:34 AM.


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