So the way i fixed this was way more simple. For some reason the error message would just pop up, even though nothing I did was different. But to bypass it, instead of saving images in my picture folder, all I did was save them in my download folder. So when I tried to upload them, it worked. Maybe the file is different when it reads it but that was all i did. Hope it helps someone else.