calibre-devs team mailing list archive
-
calibre-devs team
-
Mailing list archive
-
Message #00145
Re: Displaying Thumbnails
On Mon, May 17, 2010 at 2:20 PM, Kovid Goyal <kovid@xxxxxxxxxxxxxx> wrote:
> I just committed a change to the 0.7 branch to handle this. Now if you want
> to
> use image paths instead of image data, do this:
>
> class ImageWrapper(object):
>
> def __init__(self, image_path):
> self.image_path = image_path
>
> and set the thumbnail to be ImageWrapper(path)
>
> Kovid.
>
>
Thanks. This worked great
References