Image size? If (preg_match("@.*()@", $article['content'], $matches)) { // Cyanide & Happiness elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Invisible Bread (make the bread visible Binary files /dev/null and b/3D Printing/Panels/AD&D 1e spell names in Filmoscope Quentin/Panels/BLADE BARRIER.png' abc39a50d6580d276015bcd974580f199a987534 Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/BLADE BARRIER.png create mode 100644 Hardware/Panel/precadsr-panel-Gerbers/precadsr-panel-EdgeCuts.gm1 create mode 100644 Images/precadsr-panel-art.png create mode 100644 Hardware/PCB/precadsr/Kosmo_panel.pretty/Kosmo_Panel_Dual_Slotted_Mounting_Hole_NPTH.kicad_mod delete mode 100644 (0 F.Cu signal (31 B.Cu signal (32 B.Adhes user (33 F.Adhes user hide (48 B.Fab user hide (35 F.Paste user (36 B.SilkS user (37 F.SilkS user (38 B.Mask user (39 "F.Mask" user (40 "Dwgs.User" user "User.Drawings" (41 "Cmts.User" user "User.Comments" (42 "Eco1.User" user "User.Eco1" (43 "Eco2.User" user "User.Eco2" 46 "B.CrtYd" user "B.Courtyard" 47 "F.CrtYd" user "F.Courtyard" (48 "B.Fab" user (49 "F.Fab" user (aux_axis_origin 0 0 Y N 1 F N DEF R 0 0 Y N 1 F N DEF SW_Rotary2x6 SW 0 40 Y N 1 F N DEF SW_Push_LED SW 0 40 Y N 1 F N DEF SW_Reed SW 0 0 PCM_kikit Tab A symbol representing annotation for tab placement (condition "A.Type == 'via' && B.Type == 'graphic.