Threaded thumbnail generator that scales the image to size