Changed to use thumbnail for images as well as pdfs.  ...

Additionally removed height so PDF images would not get skewed.

Fixes #33