Size? If(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'cad-comic.com/cad.