Adds thumbnail method to models.rb and responds_to in thumbnail partial.