clipping images

Good morning,
I have been struggling with this issue for a while, maybe you can point me in the right direction?

when I do a gallery of images, I have thumbnails, I have to resize them manually until they get lets say 300 by 200, so every picture I have to resize manually for this ratio, if I do a batch some will resize 300 by 170 and they won't look nice on the layout.

my question, is there a way to clip these images using css so if they are a little bigger that will be fine? they will get cropped using css?

or is there another method?

Thank you

Syndicate content