Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image preview error #182

Open
XPLing opened this issue Jun 11, 2018 · 2 comments
Open

Image preview error #182

XPLing opened this issue Jun 11, 2018 · 2 comments

Comments

@XPLing
Copy link

XPLing commented Jun 11, 2018

When I used the new mOxie.image.Image () method, the picture went wrong all the time, and the error was not clear.
The code is as follows
`
var preloader = new mOxie.image.Image();

            preloader.onload = function () {             
                var imgsrc = preloader.type == 'image/jpeg' ? preloader.getAsDataURL('image/jpeg', 80) : preloader.getAsDataURL();
                preloader.destroy();
                preloader = null;
            };
            preloader.onerror = function (e) {
                console.log(e);
            };
            preloader.load(file.getSource());`

file is a object:
image
After running, the program has been going into the onerror,and error is as follows
image
Please help you, thank you.

@Lunziyuan
Copy link

same with you. plupload + moxie

@Lunziyuan
Copy link

fixd by this.
moxiecode/plupload#1469 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants