Merge pull request #14 from Riball/master

Chaining bugfix + New Functionality set max image size
#14 - Chaining bugfix + New Functionality set max image size.