geeky · non php code

inline binary data display

would it be nice that all browsers can handle inline binary data display? actually just images will be fine. so no more image uploading.. just do something like:

<img src="image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAFSDNYfAAAAaklEQVR42u3XQQrAIAwAQeP%2F%2F6wf8CJBJTK9lnQ7FpHGaOurt1I34nfH9pMMZAZ8BwMGEvvh%2BBsJCAgICLwIOA8EBAQEBAQEBAQEBK79H5RfIQAAAAAAAAAAAAAAAAAAAAAAAAAAAID%2FABMSqAfj%2FsLmvAAAAABJRU5ErkJggg%3D%3D" alt="" />

demo:

this particular line is supported in firefox, safari and konqueror but not IE (yet). I will try out IE 7 next week. to read more interesting stuff about finding the limits in web browsers, learn about the acid2 test.

edit: found a very unpretty way to embed inline images in IE but bow to the author who made it work.

One thought on “inline binary data display

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s