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 03-14-2012, 08:21 PM   #1
khromov
Connoisseur
khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.
 
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
Embedding cover art inside recipes

An idea that I'd like input on.

In CSS you can embed a base64 encoded image, like this:
background-image: url(data:image/jpg;base64,[image]);

I was thinking of using a similar method for embedding recipe covers in Calibre.

This will add to size of recipe, but guarantee the cover will always work and not have to be re-fetched every time.

One could argue that if you're getting news from a publication, you can just swipe a logo from there too. I think it works in most cases, but sometimes images get removed, static image subdomain stops working, etc.

What do you guys think?
khromov is offline   Reply With Quote
Old 03-14-2012, 10:19 PM   #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: 45,207
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'd rather you did not do this. recipes are automatically fetched from my server by calibre, and this would significantly increase my hosting costs. Put the image on some file hosting service like picasa or flikr or whatever and add a link to it as cover_url in your recipe.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect your screen inside your book cover Reader Paradice Kobo Tablets 13 12-22-2011 09:24 PM
Is it possible to generate an inside cover? Heathside Boy Library Management 8 12-09-2011 02:45 AM
Embedding Book Cover images oldbwl Calibre 8 11-10-2010 06:35 AM
Cover inside book luthar28 ePub 3 08-04-2010 05:32 PM
Customized Silk Inside Cover mickeymammoth Sony Reader 3 11-17-2006 02:18 PM


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


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