.jpg file extension properly added to the list, but still can't upload jpg files

  • Profile Image
    ChildrensMuseumPgh
    Asked on July 28, 2010 at 12:06 PM

    jpg, jpeg, png are added as accepted files through form builder for my upload form.

    I tried uploading some files, and jpg files are not going through. I could submit png files just fine.

     

    Everytime I try uploading jpg files I get this contradictory error message:

    jpg file extension is not allowed. You can only upload jpg, jpeg, png, files.

     

    Any possible solutions/ideas of what I might be doing wrong?

    Thank you!

  • Profile Image
    aytekin
    Answered on July 29, 2010 at 06:50 AM

    The trailing comma at the end was causing the problem. I changed it from "jpg, jpeg, png," to "jpg, jpeg, png" and it is workin fine now.