Answers.Body: <p>Can you explain the fix in the PR?
  I could not reproduce the problem, but I made the mistake of grabbing an instance that is not up to date with civicrm core.
  So, I gather this must be caused by a change in core for profile processing.</p>
  
  <p>hmmm... I just noticed that without this patch, the profile submit button does change based on the presence of a file-upload field.</p>
  
  <p>without a file-upload:</p>
  
  <pre><code>&lt;input class="crm-form-submit default validate" accesskey="S" crm-icon="fa-check" name="_qf_Edit_next" value="Save" type="submit" id="_qf_Edit_next"&gt;
  </code></pre>
  
  <p>with a file-upload:</p>
  
  <pre><code>&lt;input class="crm-form-submit default validate" accesskey="S" crm-icon="fa-check" name="_qf_Edit_upload" value="Save" type="submit" id="_qf_Edit_upload"&gt;
  </code></pre>
  
  <p>This seems similar to what your PR attempts to achieve?</p>
  
  <p>So, I'm looking for more evidence that this is not an instance configuration problem.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-05T16:08:52.913Z
Answers.LastActivityDate: 2019-09-05T16:24:32.207Z
Answers.LastEditDate: 2019-09-05T16:24:32.207Z
Answers.UserDisplayName: ginkgoMZD
Answers.Body: <p>da_adamt, Welcome to CiviCRM SE. This seems to be bug in Civi Volunteer extension. I have just submitted a <a href="https://github.com/civicrm/org.civicrm.volunteer/pull/519" rel="nofollow noreferrer">PR</a> for this. Can you try applying patch from <a href="https://patch-diff.githubusercontent.com/raw/civicrm/org.civicrm.volunteer/pull/519.patch" rel="nofollow noreferrer">here</a>?</p>
  
  <p>Thanks</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-06T03:41:08.197Z
Answers.Text: Hi Pradeep.
  
  This seems to have fixed the issue!
  Image / file is now uploading as expected after applying your fix.
  
  Thank you for help on this one, very much appreciated.
Answers.UserDisplayName: da_adamt
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-05T09:58:09.493Z
Answers.LastActivityDate: 2019-09-05T09:58:09.493Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I am just wondering if file uploading (image) is supported in CiviVolunteer as I am having an issue where attaching an image to a volunteer signup form is not being captured / displayed on the view contact details page.</p>
  
  <p>Is this possibly a bug or just not supported by CiviVolunteer?</p>
  
  <p>For clarity on what I have done so far and the results I am experiencing.</p>
  
  <p>We want to add a file upload option on volunteer sign up page that allows the volunteer to add a picture of themself.</p>
  
  <p>So I created a new custom field (file upload) and assigned it to a volunteer application form profile with expected results.
  i.e: Field is displayed on public form and also available on the contact record.</p>
  
  <p>However, once the form has been submitted and the new contact created the image is not available on the contact details page.</p>
  
  <p>I assumed the image would be rendered next to the label or possibly a link to view elsewhere.</p>
  
  <p>When editing the contact details from within Civi I am able to upload an image and then upon saving it is rendered on screen.
  So it seems that the file upload is working but just not via the public form.</p>
  
  <p>Tested with CiviCRM 5.13.5 and Master branch of Volunteer.</p>
  
  <p>I have attached screenshots to detail what is going on.</p>
  
  <p>Thanks.</p>
  
  <p><a href="https://i.sstatic.net/A7mNi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/A7mNi.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/XDzEm.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XDzEm.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/ELn8D.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ELn8D.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/iKBIU.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iKBIU.png" alt="enter image description here"></a></p>
  
Tags: <civivolunteer>
Title: Image / file upload issue on civivolunteer public form
ThreadText: # Image / file upload issue on civivolunteer public form
  
  (Asked by: username_0 on 2019-09-05)
  
  I am just wondering if file uploading (image) is supported in CiviVolunteer as I am having an issue where attaching an image to a volunteer signup form is not being captured / displayed on the view contact details page.
  
  Is this possibly a bug or just not supported by CiviVolunteer?
  
  For clarity on what I have done so far and the results I am experiencing.
  
  We want to add a file upload option on volunteer sign up page that allows the volunteer to add a picture of themself.
  
  So I created a new custom field (file upload) and assigned it to a volunteer application form profile with expected results.
  i.e: Field is displayed on public form and also available on the contact record.
  
  However, once the form has been submitted and the new contact created the image is not available on the contact details page.
  
  I assumed the image would be rendered next to the label or possibly a link to view elsewhere.
  
  When editing the contact details from within Civi I am able to upload an image and then upon saving it is rendered on screen.
  So it seems that the file upload is working but just not via the public form.
  
  Tested with CiviCRM 5.13.5 and Master branch of Volunteer.
  
  I have attached screenshots to detail what is going on.
  
  Thanks.
  
  [![enter image description here](https://i.sstatic.net/A7mNi.png)](https://i.sstatic.net/A7mNi.png)
  
  [![enter image description here](https://i.sstatic.net/XDzEm.png)](https://i.sstatic.net/XDzEm.png)
  
  [![enter image description here](https://i.sstatic.net/ELn8D.png)](https://i.sstatic.net/ELn8D.png)
  
  [![enter image description here](https://i.sstatic.net/iKBIU.png)](https://i.sstatic.net/iKBIU.png)
  
  **Tags:** civivolunteer
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-09-05. Score: 3 | Accepted answer
  
  da\_adamt, Welcome to CiviCRM SE. This seems to be bug in Civi Volunteer extension. I have just submitted a [PR](https://github.com/civicrm/org.civicrm.volunteer/pull/519) for this. Can you try applying patch from [here](https://patch-diff.githubusercontent.com/raw/civicrm/org.civicrm.volunteer/pull/519.patch)?
  
  Thanks
  
  username_2
  
  > **Comments:**
  > **username_0**: Hi username_2.  This seems to have fixed the issue! Image / file is now uploading as expected after applying your fix.  Thank you for help on this one, very much appreciated.  
  
  ---
  
  ### Answer by username_1 on 2019-09-05. Score: 0
  
  Can you explain the fix in the PR?
  I could not reproduce the problem, but I made the mistake of grabbing an instance that is not up to date with civicrm core.
  So, I gather this must be caused by a change in core for profile processing.
  
  hmmm... I just noticed that without this patch, the profile submit button does change based on the presence of a file-upload field.
  
  without a file-upload:
  
  ```
  <input class="crm-form-submit default validate" accesskey="S" crm-icon="fa-check" name="_qf_Edit_next" value="Save" type="submit" id="_qf_Edit_next">
  
  ```
  
  with a file-upload:
  
  ```
  <input class="crm-form-submit default validate" accesskey="S" crm-icon="fa-check" name="_qf_Edit_upload" value="Save" type="submit" id="_qf_Edit_upload">
  
  ```
  
  This seems similar to what your PR attempts to achieve?
  
  So, I'm looking for more evidence that this is not an instance configuration problem.
  
  
  ---
  
  