Trying again ...

This is nice DRY code, but as Sam mentioned in the presentation review, you are loading the full large image file when you only need the thumbnail thus slowing down your page.

There are a [number of techniques for "responsive images"](http://css-tricks.com/which-responsive-images-solution-should-you-use/) and I'd recommend spiking on them and seeing which one makes sense.

That said you could still use the `src` property if the main image path is something like `SMALL_IMAGE_NAME_main.jpg`  Or you could store the main (larger image) in a data attribute.