title: can i check an image size before resizing it in less?
body: <p>I'd like to write some Less that will check check an image's width/height before applying a percentage scaling.</p>
  
  <p>The idea is that I'll have a fixed size div and I'll want to center a set of images in that div and re-size them to be as big as possible without getting cut off or accidentally resizing the div. The source images will be varying sizes and even varying W/H ratios.</p>