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
When using 'fit-in' or 'upscale' the default behavior is to use the fitting mode 'inside', which maintains the original image's aspect ratio without adding any pixels to the image canvas.
Because of this, the "fill" filter has no effect, since there's no extra image area to be filled.
fit-in urls by default don't use the "inside" fitting mode but "contain", could this be changed?
@carles-codony-manomano thanks for your feedback.
You are right, and we will include this fix to the next release so that "fill" filter can have "contain" fitting mode.
When using 'fit-in' or 'upscale' the default behavior is to use the fitting mode 'inside', which maintains the original image's aspect ratio without adding any pixels to the image canvas.
Because of this, the "fill" filter has no effect, since there's no extra image area to be filled.
fit-in urls by default don't use the "inside" fitting mode but "contain", could this be changed?
See examples in the thumbor documentation:
https://github.com/thumbor/thumbor/wiki/Filling
The text was updated successfully, but these errors were encountered: