The property overflow only works on an item with a height set. Your div with class ‘imgV’ has the property overflow set, but it doesn’t have a height. So that’s why it doesn’t work.
And overflow should be set on the container, not on the item itself, so you shouldn’t set it on the image itself.
So make sure your containers have the same dimensions in all screens, then the images will have those dimensions as well.