I know that there are at least 10 the same questions with answers but none of them seems to work for me flawlessly. I\'m trying to check if internal or external image exists (is
I found try catch the best solution for this. It is working fine with me.
try{ list($width, $height) = getimagesize($h_image->image_url); } catch (Exception $e) { }