From http://ecommerce.shopify.com/c/ecommerce-design/t/pull-first-image-from-each-tag-so-subcategories-have-an-image-associated-with-link-to-tag-149029