SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict skunkbad's Avatar
    Join Date
    Apr 2008
    Location
    Temecula, CA
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ajax problem with native IE8

    I've been working on an uploader that stores an image in the database as a base64 encoded string. The upload works fine, and the base64 encoded string is sent back to the browser to display the uploaded image so the user has confirmation that the upload was successful. I test pretty thoroughly using multiple browsers in Windows 7, Mac, and Ubuntu. My Internet Explorer is IE9, and I switch to IE8 browser mode using the developer tools, which also works well. If I use an old Windows XP computer that has native IE8, the confirmation image is not shown. The images are not very large, and the max size is 250kb. Do you think the base64 encoded string is too large for IE8, or is there some other technical reason why IE8 won't accept the long string? Response is in json format if that matters.

  2. #2
    SitePoint Addict sdleihssirhc's Avatar
    Join Date
    Feb 2009
    Posts
    387
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I assume the confirmation images are shown using data URIs?

    Does it work if you pretend IE doesn't support data URIs?

    Can you link to a live example?
    I'm the web overlord for Graphic Business Systems

  3. #3
    SitePoint Guru
    Join Date
    Mar 2004
    Location
    Earth
    Posts
    406
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah it's just too long -- IE8 limits data URIs to 32K


Bookmarks

Posting Permissions

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