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

Images with width/height attributes have "Auto" default size even though they have a width and height #414

Open
pmasekito opened this issue Feb 7, 2025 · 0 comments

Comments

@pmasekito
Copy link

pmasekito commented Feb 7, 2025

Images with a width or height attribute aren't detected properly:

Ex)
<img style="display: block;" border="0" src="link_here" width="290" height="180" />

Hit "Change Size" on image pop up toolbar and it displays "auto" instead of the width or height they have (290x180).

Within "refreshSizePopup" it uses image_object.style.width or image_object.style.height rather than checking for all potential values (perhaps try with image_object.width() ?)

Either way, would love to get this fixed.

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