Open
Description
Is your feature request related to a problem and/or adding functionality? Please describe.
In v.1.5.0, a basic autoresize feature was added. In order to add this feature in a 100% backwards compatible way, the configuration option enableAutoResizeSupport
was added that enables the autoresize capability.
Describe the solution you'd like
In the next major release, the following should be done:
- Eliminate
enableAutoResizeSupport
configuration and make it the default behavior. In short, this would simply not apply a width/height to the wrapperdiv
that IM inserts in to DOM. Whether or not to automatically resize images would be controlled viaautoResize
configuration parameter. - Revisit the concept of
autoscale
vs.autoresize
and consider having IM only be responsible forautoscaling
but not autoresizing. In this case, IM would rely on the browser/CSS to resize images and when an images resizes,autoscaling
would trigger to scale areas and apply css to canvas elements, etc.
Describe alternatives you've considered
N/A
Additional context
N/A
Activity