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

Plugin not recognizing img attributes #153

Open
mariodigiacomo opened this issue Jan 17, 2023 · 1 comment
Open

Plugin not recognizing img attributes #153

mariodigiacomo opened this issue Jan 17, 2023 · 1 comment

Comments

@mariodigiacomo
Copy link

When I use the plugin on an image which is resized via width attributes, the canvas uses the original size, not the attribute.

How can I fix this? My tech writers occasionally use oversized images.

@stephenoseiowusu
Copy link

This may seem stupid but have you tried wrapping your image in a span tag and setting the width and height as well as the max-height and max-width of the span tag.

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

2 participants