Cap on returned image size.  Fixed error in errorhandling :)