I have created a Channel Form that is intended for guest users (not logged in) to submit information including up to two image files. The form uses a Matrix or Grid field (I've tried both) for the image files. The form works great except that the image files are not uploaded. If I login as a Super Admin and submit the form, the files ARE uploaded, which leads me to believe it is some sort of permissions issue on the upload directory.
I set /images/uploads and /images/uploads/habitats to 777 to try that, and it is still not working.
FORM CODE:
{exp:channel:form channel="Habitats" return="/habitats/thank-you"
logged_out_member_id="6"
rules:habitat_story="max_length[500]"
rules:habitat_comments="max_length[500]"
rules:habitat_management_practices="max_length[500]"
rules:habitat_category_other="max_length[50]"
rules:habitat_program_other="max_length[128]"
}
...
<fieldset>
<label for="habitat_photos">{label:habitat_photos}</label>
{instructions:habitat_photos}
{field:habitat_photos}
</fieldset>
...
{/exp:channel:form}
Can anyone offer a solution or advice to fix my problem? Thanks!