This website generates polygon
code to be used in clip-path
css property. You can choose from a lot of predefined shapes or create your own shape by moving the nodes around.
You can afterwards copy the generated code and use it on your website to mask your images.