fix #454
Trap bad image size parameters
Merge branch 'master' of https://github.com/zenphoto/zenphoto