freezeframe.js icon indicating copy to clipboard operation
freezeframe.js copied to clipboard

Plugin not recognizing img attributes

Open mariodigiacomo opened this issue 3 years ago • 1 comments

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.

mariodigiacomo avatar Jan 17 '23 15:01 mariodigiacomo

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.

stephenoseiowusu avatar Feb 02 '23 17:02 stephenoseiowusu