> StringIO is not in the context of the Report. But as I said previously, 
> normally you should not need to use StringIO. 
>
> PS: Please don't post images on this mailing list, error message are 
> copy/pastable and it allows other to search on it. 
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

I checked the module copmany_logo. The image is set as an binary field -> logo 
= fields.Binary('Logo')

so should i use BytesIO for import the Image in the report instead of 
StringIO. 
I don't know the right syntax of the command. 
would image: (BytesIO(company.logo), 'image/png') solve my problem? 

Reply via email to