3
1
Back

= [pokey_outey_value, pokey_outey_value,0]; // there's both alt and title texts, they're both different, use both. } elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "" . $msg . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the top knobs top_row = height - v_margin - title_font_size*1.5; working_height = height - 25; // build up seven rows; middle one unused row_7 = row_6 + vertical_space/7; row_6 = row_5 + vertical_space/7; row_3 = row_2 + vertical_space/7; row_6 = row_5 + vertical_space/7; row_5 = row_4 + vertical_space/7; row_3 = working_increment*2 + out_row_1; out_row_6 = out_working_increment*5 + out_row_1; out_row_4 = working_increment*3 + row_1; row_4 = row_3 + vertical_space/7; row_6 = row_5 + vertical_space/7.

New Pull Request