Is there any way to have PHP determine whether an image file is corrupted and will not be able to display properly?
I\'ve tried to check with fopen and
fopen
if the files are there on your server check using file_exists function in php
http://php.net/manual/en/function.file-exists.php