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

Can't get the right height/width value after I change the image #16

Open
ycczkl opened this issue Jul 23, 2014 · 0 comments
Open

Can't get the right height/width value after I change the image #16

ycczkl opened this issue Jul 23, 2014 · 0 comments

Comments

@ycczkl
Copy link

ycczkl commented Jul 23, 2014

I can get the right X,Y,W,H value if I don't change the picture. If I change to another picture, the W, H value will be the same value of the first picture.
You can see my code here:

http://jsfiddle.net/dA25D/

If you click the set src to null button and then click the set src to another picture, you will see that the X,Y,W,H value is different from the right one.

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

1 participant