Added the ability to specify thumbnail size. Fixes #7