Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    Hello,

    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.
    Attached Thumbnails Attached Thumbnails Is it normal to see "Downloading picture data:image/png;base64" when loading a site?-ie.jpg  

  • #2
    New Coder
    Join Date
    May 2011
    Posts
    79
    Thanks
    3
    Thanked 4 Times in 4 Posts
    I could be wrong, but I think that's the MIME type?
    Quote Originally Posted by bullant View Post
    Basically - Java is to Javascript as Ham is to Hampster.

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    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.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •