only allow image file extensions for profile pic upload
<fieldset>
<div class="btn-file btn-update-picture upload-picture"><span class="glyphicon glyphicon-camera"></span>
<span>&nbsp;&nbsp;Add a photo</span>
- <input class="upload-picture" type="file" name="picture"></div>
+ <input class="upload-picture" type="file" name="picture" accept="image/*"></div>
</fieldset>
{% endif %}
</div>
