Vertical gap size between images

Hi there,

hopefully someone can answers my question!
Is there a way to change the vertical gap size between the images without changing the image size?
I want to have the gap a lot smaller.