I have a php script that uses getimagesize. The new server is running 4.3.4, and all file permissions are the same as they were on our old server.
But what happens, is getimagesize fails for about 50-75% of our images that I run it on... it used to work flawlessly in an older php version.
For most of these images, it simply returns NO values. The rest of the images, it works fine. Specifically, I look for the width and height of the image.
Now the funny thing, is that I download the images that don't work, open them in photoshop and save the file again... OVER ITSELF, with the same file type, extension, name etc. Then I re-upload it and everything works fine!
Do you have any ideas what could be causing this, or maybe some ideas on how I can better find where the breakdown is?