We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contain
cover
I just wondered why the plone.scale modes contain and cover are the direct opposite of the css object-fit meanings?
plone.scale
object-fit
plone.scale fills width/height completely and image gets clipped out of the center object-fit scales image to fit width or height and gets letterboxed
plone.scale scales image to fit width or height object-fit fills width/height and gets clipped according to the container
Note to myself: documentation needs update on this too ... see https://6.docs.plone.org/classic-ui/images.html#scaling-direction ... direction is obsolete and should not be used anymore.
direction
The text was updated successfully, but these errors were encountered:
petschki
No branches or pull requests
I just wondered why the
plone.scale
modescontain
andcover
are the direct opposite of the cssobject-fit
meanings?contain
cover
Note to myself: documentation needs update on this too ... see https://6.docs.plone.org/classic-ui/images.html#scaling-direction ...
direction
is obsolete and should not be used anymore.The text was updated successfully, but these errors were encountered: