Does any one have a working method / script to only allow files with ending .jpg to be uploaded via web form field?
I am currently using <input type="file" accept=".jpg" class="form-control" id="" name=""> but users still seem to manage to upload .png or .pdf files now end then.