I just wondered why the plone.scale modes contain and cover are the direct opposite of the css object-fit meanings?
contain
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
cover
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.