Uploaded image files are corrupted when trying to download

  • jikpoole
    Asked on June 12, 2017 at 6:38 AM

    Good morning,

    JPG images that are uploaded to a form are corrupted when downloaded.  We can't seem to find the cause.  Can you please investigate for us?

    Example of corrupted images: 'True Mirror' (still), 16mm on HD, 2017.jpg

     

  • csvital
    Replied on June 12, 2017 at 6:54 AM

    It is possibly corrupted because of the image's file name, as in the example 'True Mirror' (still), this comma can breaks your download url.

    You can give information about file names in sub-label to submitters.

  • Ashwin JotForm Support
    Replied on June 12, 2017 at 8:23 AM

    Hello jikpoole,

    I'm sorry for the trouble caused to you. 

    I did try to download the file and I was able to download it successfully. The issue seems to be related to "," you have in file name. The file name gets trimmed after the "," which removes the file extension.

    I would suggest you to please rename the file which gets downloaded, add the file extension ".jpg" and you should be able to open the file without any problem. Please check the screenshot below:

    Uploaded image files are corrupted when trying to download Image 1 Screenshot 20

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • jikpoole
    Replied on June 12, 2017 at 9:02 AM

    Thanks both, I will try changing the file names and I will also warn users not to use ',' in filenames.