You start with a square or rectangular image, give them a border radius of 500px. That is all there is to it.
To make the images look a bit nicer, you can give them a border or even some drop shadow, but this is optional (both have been applied here).
If you want some space, don't use padding, that will break the design. Instead, use margins.