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
{{ message }}
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.
Hi there,
I'm trying to use this plugin with images that are smaller than the target container. (avatars in a container big enough to manipulate)
I'd like to scale up the images so that they are properly adjusted to fit/fill by the smallest dimension, and are never able to shrink smaller than the container.
the adjustToContainer method, only seems to cater to the case where the image is larger, otherwise it always calculates a scale of 1, where a scale of >1 is what I want to lock in as a minimum (I think).
what's the best way to 'fill' an image into the container so that the image always consumes the entire container, and cannot ever be dragged/zoomed to show background?
Cheers
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
I'm trying to use this plugin with images that are smaller than the target container. (avatars in a container big enough to manipulate)
I'd like to scale up the images so that they are properly adjusted to fit/fill by the smallest dimension, and are never able to shrink smaller than the container.
the adjustToContainer method, only seems to cater to the case where the image is larger, otherwise it always calculates a scale of 1, where a scale of >1 is what I want to lock in as a minimum (I think).
what's the best way to 'fill' an image into the container so that the image always consumes the entire container, and cannot ever be dragged/zoomed to show background?
Cheers
The text was updated successfully, but these errors were encountered: