You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the image-* plugins, it seems like resizing an image by specifying either the height or width (via stimulus_height or stimulus_width) with maintain_aspect_ratio: false doesn't work - the image is resized according to the specified dimension, but the other dimension is changed as well and the aspect ratio is maintained. Instead, when maintain_aspect_ratio is false, the unspecified height or width dimension should be the image's original value, and the image should be stretched/compressed accordingly.
I'll fix this in the same pull request that will add the render_on_canvas option to the image plugins (to fix the image flashing issue in Firefox: #891, #969).
The text was updated successfully, but these errors were encountered:
In the image-* plugins, it seems like resizing an image by specifying either the height or width (via
stimulus_height
orstimulus_width
) withmaintain_aspect_ratio: false
doesn't work - the image is resized according to the specified dimension, but the other dimension is changed as well and the aspect ratio is maintained. Instead, whenmaintain_aspect_ratio
is false, the unspecified height or width dimension should be the image's original value, and the image should be stretched/compressed accordingly.I'll fix this in the same pull request that will add the render_on_canvas option to the image plugins (to fix the image flashing issue in Firefox: #891, #969).
The text was updated successfully, but these errors were encountered: