jpeg – .jpg photos from the SD card of Galaxy Grand Prime + display “It appears we don’t support this file format” after transferring them to my PC


My Galaxy Grand Prime + phone was running out of space so I transferred all my WhatsApp media to my SD card. After some time (a few hours I think), many of these photos and videos became unviewable. I even hooked up my phone to my PC and transferred some of those faulty photos there but I cannot view these photos even on my Windows 10 PC. When I tried opening the photo with the Photos program, I saw the message “It appears we don’t support this file format.”

enter image description here

I have no idea why this is happening. How did the media get corrupted?