fixes #3 Document thumbnail method leaves width and height undefined