How to bind a base64 string to image URL in knockout JS
2,922 views
Skip to first unread message
s.saty...@gmail.com
unread,
Mar 23, 2012, 11:59:15 PM3/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com
Hi, i would like to bind a base64 string in my model to a image, is it possible in knockout JS, pardon me if that was a dumb question..
rpn
unread,
Mar 24, 2012, 12:20:06 AM3/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com
Here is a sample that shows binding a base64 image to the background style of an element or to the src of an image:
http://jsfiddle.net/rniemeyer/zgPMR/