>
]+>/i',$content, $images)) { // grab s
$src = '';
if (preg_match('/src="([^"]*)"/', $images[0], $srcs)) {
$src = $srcs[0];
} else if (preg_match("/src='([^']*)'/", $images[0], $srcs)) {
$src = $srcs[0];
}
$the_image = '';
} else {
// see if a featured image, other wise just use the content, which allows inserting comments
$the_image = $content; $use_link = false;
}
?>