title: Create profile image upload feature
body: <p>I'm trying to add a profile image upload feature to my mobile app but i can't figure how to do it. Can anyone provide a solution? </p>
  
  <p>Many Thanks</p>
  
  <p>This is what i have at the moment. </p>
  
  <pre><code>&lt;form id="profilepic_form"&gt;
  &lt;fieldset id="profilepic_controls"&gt;
  
   &lt;div style="width: 120px; height: 100px; position: relative; background-color: #fbfbfb;   border: 1px solid #b8b8b8; "data-controltype="image"&gt;
    &lt;img src="https://codiqa.com/static/images/v2/image.png" alt="image" style="position:     absolute; top: 50%; left: 50%; margin-left: -16px; margin-top: -18px"&gt;
  
     &lt;div style= "top:50px;"data-role="fieldcontain" data-controltype="camerainput"&gt;
      &lt;input type="file" name="" id="camerainput1" accept="image/*" capture="camera"&gt;
     &lt;/div&gt;
  
   &lt;/div&gt;
  &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>