I would suggest trying to access the image attributes by means of the GLOBAL $_FILES variable. Like this:
echo $_FILES['userfile']['type'];
// Echo the File Type
echo $_FILES['userfile']['size'];
// Echo the file Size
// You get the Picture....
I always use that method and it never fails me.
Also, ensure that you have included this attribute in the FORM tag declaration:
enctype="multipart/form-data"
Its indipensable when you find yourself sending Binary data.