3
1
Back

Continue? $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the first if(preg_match("@.*(rel2abs($orig_src, $article['link']); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function rel2abs($rel, $base) { Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags textified. } //Sites that provide images and just need.

New Pull Request