sorry i didn’t read the rules. The code is
// Get URL of first image in a post
function catch_that_image() {
global $post, $posts;
$first_img = '';
ob_start();
ob_end_clean();
$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
$first_img = $matches [1] [0];
// no image found display default image instead
if(empty($first_img)){
$first_img = "/images/default.jpg";
}
return $first_img;
}
Also what is the loop?
yes i can edit my theme folder. The logo isnt very large. What file would i edit?
Im sorry i should’ve been more specific. Im looking for theme that has a gallery view system like throttle.com. A big picture on the front page and when click on it display everything in a linear pattern.