Forum
Image / File upload for forms
A very quick question relating to image uploads. The filetypes.ini are correct (I am just trying to upload a JPEG) through a form but I believe that I need to assign a "File save location". My debug message is "File save location not set, files discarded."
I cannot find documentation how to do this. Please can a link to the relevant forum post / documentation page be provided?
Template code for field:
<perch:label for="jpeg">Photo</perch:label>
<perch:input type="image" id="jpeg" name="jpeg" label="Photo" />
Perch: 2.8.4 Installed apps: content (2.8.4), assets (2.8.4), categories (2.8.4), perch_blog (4.6), perch_forms (1.8.3)
Okay, so I now see the instructions in the admin control panel when configuring forms.
I have a set a folder for the images and it is writable by PHP. When uploading images the uploader shows as uploading an image but the form just refreshes on itself without submitting. The debug message shows no errror just:
Do you have any redirects in place?
Does the form work without the upload?
Form processes fine without the image. Cant see any redirects but i will review the .htaccess file.