customers receiving an "this is an invalid file type." when submitting images

  • Profile Image
    tabitha
    Asked on January 23, 2014 at 12:10 PM

    I'm receiving complaints about customers receiving a "this is an invalid file type." error message when submitting images via the link below.  They are .jpg images.  The images seem to work just fine and jotform forwards them to me and I am able to download them into my system.

    What is causing this error message?  What can I do to eliminate it?

  • Profile Image
    Jeanette
    Answered on January 23, 2014 at 12:52 PM

    I just made a test and it went through.

    They are probably not uploading a jpeg or jpg filename, please double check if you have included all possible file extensions, for example if you got a non common one, you can just add it, comma separated.

  • Profile Image
    tabitha
    Answered on January 23, 2014 at 12:57 PM

    Yeah, I received the test and had already checked for all possible file extensions, even adding upper case JPG and JPEG as suggested by another post.

    Stuff seems to be coming through okay, but the error message is disconcerting.  What else might be causing it?

  • Profile Image
    Jeanette
    Answered on January 23, 2014 at 01:08 PM

    I see you have embedded the form using the script type version in a webpage where you have also have jquery libraries. Can you replace it with the iFrame code?

  • Profile Image
    tabitha
    Answered on January 23, 2014 at 01:12 PM

    I don't know much about iframe.  What happens when you put something in iframe?  We use iframe for one service on our site and we generally hate it.

    Is all I'm doing is replacing the code on the page with the iframe code?

  • Profile Image
    Mike_T
    Answered on January 23, 2014 at 02:26 PM

    Have you tried to disable a Validate Image option? If not, it might be worth trying, since there is a chance that some browsers and/or files might fail that type of validation.

    When you put something into iFrame it will be loaded as a separate resource, so that your web page scripts will not affect content within iFrame. It is a good way to solve conflicts between form and other scripts.

    Yes, you will only need to replace our standard embed code with the iFrame version of code.

  • Profile Image
    tabitha
    Answered on January 23, 2014 at 02:58 PM

    yes, just disabled the validate image option and the error message has gone away.  We'll try that and see if it works or produces other problems.