The latest version of Answer still cannot upload JPG files

Viewed 221

3 Answers

There may be something wrong with your picture. For example, the image below is in jpg format.

jpg

Got it. You mean it:

  1. The upload failed, but the 0kb file should not be on the server
  2. Why the picture taken with a mobile phone is not formatted correctly.

I will dig more.

thank you for your answer; If you check the upload folder on the server, you should be able to find the corresponding jpg file, but the size is 0 bytes;

image.png

add jpg files

add jpeg

Thank you very much.

This is an example of upload failure, and here is the name of this image:uploads/post/5doVTqLdMAq.jpg
jpg faild

Is there something wrong with the picture itself? You can go to github issu and upload the image to test it.