Hi, list.

How can i display an image wich saved as base64 encoded string?
It's store in 'jpegPhoto' attribute in LDAP.

I can display it with <img> tag directly like below:

<img src="data:image/jpeg;base64,***BASE64 ENCODED STRING HERE***" />

But IE doesn't support this.

I try to use web.header(), but failed:

web.header("Content-Type","image/jpeg")
***BASE64 ENCODED STRING HERE***

-- 
Best regards.

Zhang Huangbin

- Open Source Mail Server Solution for RHEL, CentOS,
  Debian, Ubuntu:
    + Homepage: http://code.google.com/p/iredmail/
    + Forum: http://www.iredmail.org/forum/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to