Preset Lightbox image sizes

Does anyone know how to set lightbox/collection list images to a preset sizes so that when you upload images that are in defferent sizes it automatically resizes them to fit in the boxes and show as same size as all images?

https://preview.webflow.com/preview/evoke-properties?utm_medium=preview_link&utm_source=designer&utm_content=evoke-properties&preview=56bf9350e764e565acf8edf127c919af&pageId=666037a8361b9b95ccf88efc&itemId=666037a8361b9b95ccf88fa4&locale=en&workflow=preview

Here is an example of images that messed up completely due to different image sizes:

And here is how i want it to look:

@Alexander_Grann - Use an aspect ratio and set the image to cover.