View Full Version : Is it normal to see "Downloading picture data:image/png;base64" when loading a site?

07-08-2011, 08:34 AM

We are working on a very small website for an iPhone game that we made. I am transfering it to the main domain. When I was refreshing it in IE, I saw the images loading up but also saw this in the status window:

"Downloading picture data:image/png;base64,iVBORw0KG.............................."

I had a flashback from when my sites got hacked with that base64 code with the .cc domain URL's.

Is that a normal thing to see in IE? I don't even see it in the html code, and I'm not sure why that is appearing.

Thanks for any help. I can paste in the code if that would help more. I also attached what I'm seeing in IE.

07-08-2011, 11:48 AM
I could be wrong, but I think that's the MIME type?

07-08-2011, 11:49 AM
You're looking at a data URI. Such URIs allow you to encode information as a URI that would otherwise only be accessible via a standalone file. In this case, the URI references a PNG image (indicated by the PNG MIME type image/png). Base64 is the encoding scheme used for the binary data that makes up the image and the gibberish at the end is the Base64-encoded data itself.

These URIs are mostly used in CSS style sheets for simple images. That allows you to embed the image data directly in the style sheet so that you don't need to make an additional HTTP request (thereby speeding up page load time). For example, you might see background-image: url("data:image/png;base64,iVBORw0KG..."); in a style sheet.

I'm not sure why you're seeing that information in WIE though. If the image is served via a data URI, I would expect to see "Downloading <insert file containing data URI here>" instead. I'd have to see the site to make a determination.