PHP invalid image's and error handling
- by Emdiesse
Using PHP's Image and GD functions you can use the following method to finally output the php image
imagepng($image);
Sometimes, for whatever reason the image may not be displayed typically the error is not with the image but with the actual php functions not executing successfully. However this causes a blank image to be returned which doesn't…