http://danielmclaren.net/2008/03/embedding-base64-image-data-into-a-webpage