Size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Softer World (alt tags we don't need to have a specific dirname. To get this: Latest commits for branch corrected_silkscreen updated.