When I add that code, and reload the page, I get:
array(15) { ["statusCode"]=> int(-1) ["errorMessage"]=> string(0) "" ["clientFileName"]=> string(22) "myphoto.jpg" ["fileExtension"]=> string(3) "jpg" ["serverFileName"]=> string(0) "" ["serverDirectory"]=> string(1) "/" ["contentType"]=> string(10) "image/jpeg" ["fileWasOverwritten"]=> bool(false) ["fileWasSkipped"]=> bool(false) ["fileWasRenamed"]=> bool(false) ["fileSize"]=> int(6945) ["isImage"]=> bool(true) ["imageWidth"]=> int(125) ["imageHeight"]=> int(188) ["uploadFolder"]=> bool(false) }