Is there any way at all to create a responsive/fluid layout with 3 equal height columns containing images of different sizes?

I'm trying to create a template that can have variable content piped in, but I have zero control over the size and aspect ratio of the images being plugged in by automation. Creative does NOT want the 3 columns to stack on mobile; instead, the 3 columns and the images need to shrink proportionately. Our current template uses fixed widths/heights, but often has issues on mobile.

Should look something like this (imagine the gray squares are product photos) and maintain the same proportions as it scales down: