Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

issue with image rotation #92

Closed
ghost opened this issue Nov 10, 2014 · 8 comments
Closed

issue with image rotation #92

ghost opened this issue Nov 10, 2014 · 8 comments

Comments

@ghost
Copy link

ghost commented Nov 10, 2014

Hi there,

I am getting an error when it comes to rotating images: "NS_ERROR_NOT_AVAILABLE:
...nvas&&(f=i.getContext("2d"),a('').one("load",function(){i.width..."

I have used the code exactly like in your example here: https://github.com/fengyuanchen/cropper/tree/master/demos

basically it's working just fine, I only get this error with rotate function, all others do work.

Any help would be appreciated.

many thanks.

Seb

@leosoul
Copy link

leosoul commented Nov 11, 2014

FireFox 33.1 FireBug:
NS_ERROR_NOT_AVAILABLE:
...nvas&&(f=i.getContext("2d"),a('').one("load",function(){i.width...

@leosoul
Copy link

leosoul commented Nov 11, 2014

非常喜欢这款插件,请快看看bug原因。

@fengyuanchen
Copy link
Owner

I see, I try to draw a image to canvas, the image does not append to document, and this will occur a "NS_ERROR_NOT_AVAILABLE" error in Firefox.

fengyuanchen pushed a commit that referenced this issue Nov 11, 2014
#92: Fix the image rotation error in Firefox.
@ghost
Copy link
Author

ghost commented Nov 11, 2014

thanks for the quick fix.

confirmed it's working now. Thanks again

@ghost ghost closed this as completed Nov 11, 2014
@leosoul
Copy link

leosoul commented Nov 12, 2014

Thanks a lot!
Can you speak Chinese?

@fengyuanchen
Copy link
Owner

@leosoul 当然,但是在这里英语更通用~

@ghost
Copy link
Author

ghost commented Nov 12, 2014

yeah agree, english is more common on github.

@leosoul
Copy link

leosoul commented Nov 14, 2014

:)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants