Adding auto sprite generation for thumbnails

Still some work to do, but some images on the list page have thumbnails!