title: Resize image if necessary to fit in fixed height container
body: <p>Is there anyway with CSS and/or JavaScript/jQuery that we can resize images <em>only</em> if they need to be for the remaining content to fit in a fixed-height container? If you review the images in the <em>new this week</em> and <em>weekly specials</em> sections in the screenshot below you'll see what I mean. There are some instances, however, where everything fits because the image is small enough and the amount of text below them isn't very large. </p>
  
  <p><img src="https://i.stack.imgur.com/JbWC4.png" alt="See example here"></p>