Skip to content

loadImage does not work for ios if canvas option is set to true #52

@zengxinzhy

Description

@zengxinzhy

Hi Sebastian:

I'm not sure is it a good way to describe the problem.

The test demo is fairly simple, you can access it via:
http://canvas-load-image-test.s3-website-us-east-1.amazonaws.com/

If canvas option is set to true, loadImage function won't work for my iPhone 4S. I've tried the demo in desktop browser and Nexus, it works fine for those devices.

However, if we set canvas to false and then resize the image using {canvas: true}, it will work, just like the preview feature you used in:
http://blueimp.github.io/jQuery-File-Upload/

I also find that for iPhone 4s, the test demo works for images from screenshot (does not work for images from camera), so I guess the problem has something to do with processing exif data in ios.

Thanks,
Sidney

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions