3
1
Back

New DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt.

New Pull Request