• Resolved bbell2000

    (@bbell2000)


    I have a file upload control on my form with accepted extensions set to image/jpg,image/png.

    When I try to attach a JPG I see an error File is of invalid type.

    The file I’m trying to upload is definitely a JPG and it’s significantly smaller than the 64Mb maximum allowed size.

    I also tried setting extensions to .jpg,.png and jpg,png and those didn’t work either.

    • This topic was modified 4 years, 9 months ago by bbell2000.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Andrei Cristea

    (@andreic86)

    Hello @bbell2000,

    Your first version for the accepted extensions should work. Can you please try with the following accepted files definition as well:

    image/jpg,image/jpeg,image/png

    Thread Starter bbell2000

    (@bbell2000)

    Thanks for the response. Adding image/jpeg to the list fixed the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t upload files on form’ is closed to new replies.