-
Notifications
You must be signed in to change notification settings - Fork 108
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
img width percentage doesn't work #12
Comments
Does using |
<img style="width: 50%" src="..."> Works in demo http://plnkr.co/edit/lpBfmp But the size didn't increase and it's better if we can set it on attribute |
Hey @huei90 after looking at your demo, I think the problem is that the default zoomerang size is set to be 300px. In the external script that you've added the listener too, set the config options for maxHeight and/or maxWidth. For example:
|
Now if we could define maxHeight or maxWidth to as percentage like 100% (i.e. original image full size), that'd truly be sweet. :) |
Thanks for this cool plug-in !
Again percentage problem
http://plnkr.co/edit/lpBfmp
The text was updated successfully, but these errors were encountered: