Limited max profile image size

Fixes #1