Update to allow maxHeight/maxWidth configs

This fix allows a regression from #48. It once again allows user to
configure the maxHeight/maxWidth configs.
Merge pull request #55 from kylegregory/master

Update to allow maxHeight/maxWidth configs