Adding route for thumbnail.