What am i going

I have an image that should appear inside the polygon. The color pink is the image.
What i tried
Using the shapes of the SVG triangle (100% of the width) that lie above and below the image. Upper left track above and below left bottom.
It works fine, but it seems to have processing issues in many browsers where you see a random line around SVG. (see image below, there may be a separate question in itself)

I also tried using skewed / rotated elements above and below. But since the element is responsive, with a certain resolution, the skewed elements create spaces. (see image below)

What could i try
. . . , , , , .
- , , CSS.