So on. Use transform="matrix(1.000002,0,0,1.000002,-1.047e-5,0.59054561)">get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Three Panel Soul // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@