display base64 image in html
Posted
by
Christopher
on Stack Overflow
See other posts from Stack Overflow
or by Christopher
Published on 2011-12-14T04:53:21Z
Indexed on
2013/10/29
9:54 UTC
Read the original article
Hit count: 256
Having trouble displaying a base64 image inline.
Can someone point me in the right direction?
<!DOCTYPE html>
<html>
<head>
<title>Display Image</title>
</head>
<body>
<img style='display:block; width:100px;height:100px;' id='base64image'
src='data:image/jpeg;base64, LzlqLzRBQ...<!-- base64 data -->' />
</body>
© Stack Overflow or respective owner