My goal is to create a design where images resize proportionally with their containing elements. The challenge I am facing is achieving the proportional resizing of each image container's height as its width changes upon window resize. Currently, the width of each image container is set to 25% of the main container element's width.
What I aim for now is for each image container to resize proportionally when the window resizes and for every image inside its respective container to grow alongside it while maintaining its aspect ratio.
Here is what I have accomplished so far: http://jsfiddle.net/pPWVd/.