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

Right click always sets width/height styling #23

Open
megamurmulis opened this issue Oct 7, 2014 · 2 comments
Open

Right click always sets width/height styling #23

megamurmulis opened this issue Oct 7, 2014 · 2 comments

Comments

@megamurmulis
Copy link

Problem:

Currently - when right clicking on image, then releasing mouse - will always set style="width:...px; height:...px" (even when not using any functions).
This happens no matter what keys are assigned or even when mouse functions disabled completely..

This can be bit annoying when working with firebug (right-click -> inspect) = as will add new (width/height) styling that sometimes overrides existing image's inline styling...

Solution: It would be preferable not to add w/h style until any imagezoom function is used...

@jasadams
Copy link
Owner

jasadams commented Oct 7, 2014

thanks, I think this is a good suggestion, I'll take a look and see how hard it is to implement

@fireattack
Copy link

It's not only "annoying" in firebug, it actually ruins visiting expierence of some sites under certain conditions. For example, I encountered a site using css padding for image element. and when you right click image, its demension is changed (to a wrong one) due to this issue.

I reproduced this problem here: http://plaza.ufl.edu/bpeng/abc.htm (just right click it and you will see the problem).

Still, it's a great add-on and thanks for your hard work.

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

3 participants