Grow your CSS skills. Land your dream job.

Convert images to Base64 Without using HTML5

  • # April 1, 2013 at 12:04 pm

    I have been looking everywhere for a way that I can do this.
    before anything I must explain that the reason that I cant use HTML5 for this. is that some clients are not able to get HTML5 Browsers and whatever I make has to be compatible even with the Legacy Browsers.

    Having said that. I need to find a way that the user can upload an image and submitted to the server already as a base64. without having to make an extra trip to a server because that just defeats the purpose.
    This roadblock has got me thinking too. how was it done before HTML5. because everywhere I look people seem to be at lost with this question.
    Thanks for any feedback

    # April 1, 2013 at 1:02 pm

    >how was it done before HTML5. because everywhere I look people seem to be at lost with this question.

    I don’t recall anyone asking this before so I suspect it isn’t quite the burning issue that you think it is.

    As far as I know, very few people were actually using B64 images but perhaps your information is different.

    http://css-tricks.com/data-uris/

    # April 1, 2013 at 1:17 pm

    Why does it have to be initially base64 encoded on upload? Why can’t the user upload the image and use PHP to encode it?

    # April 2, 2013 at 12:28 am

    how about…duri.me

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".