I do not know anything about fw7. All I know is that the form needs the following attribute: enctype="multipart/form-data"
as in
<form action="" method="post" enctype="multipart/form-data">
It specifies which content-type to use when submitting the form.