Add support for max filesize of image and automatic compression to match this limit
Merge pull request #1 from adrianbj/master

Add support for max filesize of image and automatic compression to match this limit