Enable Two Images of Different Ratios to Fill Container Width and Be Of Equal Height

I’ve been trying to get something to work in webflow and found this link that perfectly describes my issue. Please let me know if anyone has any solutions.

Open link to see description of issue