add function, fix autoloader, add missing code

add get max upload function to return bytes value.

fix autoloader when call from module which is not work.

add missing suppresses error (@) when get dimensions on fake image file
cause throw error.