As I understand it, you need a curly trim with a shadow in the shape of this trim.
img { height:220px; clip-path: polygon(0 20px, 80px 20px, 100px 0, 120px 20px, 200px 20px, 200px 220px, 0 220px); -webkit-clip-path: polygon(0 20px, 80px 20px, 100px 0, 120px 20px, 200px 20px, 200px 220px, 0 220px); } div { filter: drop-shadow(0 0 10px gray); -webkit-filter: drop-shadow(0 0 10px gray); }
<div><img src="https://pixabay.com/static/uploads/photo/2015/12/23/08/43/flowers-1105254_960_720.jpg"><div>
Browser features and limitations: clip-path , filter .
It is important that the filter is applied to the parent block, otherwise it is applied to the image before cropping, like box-shadow, border-radius and border. I could not round the corners. Found online service selection parameters clip-path
background-position
) and the arrow to display the hidden. - user207618