file upload works but not resizing (at least in win8)