object-fit

Polyfill for the CSS object-fit property to fit images into containers

html5polyfillobject-fit

https://github.com/anselmh/dialog-polyfill