The code in that section simply checks for an image type. Can you tell me exactly what steps you are taking to create this, including the type of file etc. As much detail as can be given will be extremely helpful. Creating a camstudio screen captured recording might be very useful too as you won’t have to describe it, I can just watch the resulting video.
If you produce a video for me to watch of the problem you send the private link from youtube to it to me at email@example.com.
I use a Mac, so I can’t create a video with camstudio, and couldn’t find any similar free software. Think you can help me with what i have? THere are no steps, i just click Choose File, select my .png, and hit Upload. Then it fails.