How to integrate noimage picture in this code

Change this:

else if ($widget["image_from"] == "custom") {

    $post_custom_id = get_post_meta($row->post_id, $widget["image_custom"], true);
    $row->image = get_bloginfo('url')."/scripts/timthumb.php?src="https://wordpress.stackexchange.com/questions/106998/.get_bloginfo("url')."/wp-content/uploads/".get_post_meta($post_custom_id,"_wp_attached_file",true)."&h=70&w=55&zc=1";

}

To this:

} else if ( 'custom' == $widget['image_from'] ) {

    $post_custom_id = get_post_meta( $row->post_id, $widget['image_custom'], true );

    if ( get_post_meta( $post_custom_id, '_wp_attached_file', true ) )
        $row->image = get_bloginfo('url') . '/scripts/timthumb.php?src="https://wordpress.stackexchange.com/questions/106998/. get_bloginfo("url') . '/wp-content/uploads/' . get_post_meta( $post_custom_id, '_wp_attached_file', true ) . '&h=70&w=55&zc=1';
    else
        $row->image = get_bloginfo('url') . '/scripts/timthumb.php?src="https://wordpress.stackexchange.com/questions/106998/. get_bloginfo("url') . '/wp-content/uploads/noimage1.jpg&h=70&w=55&zc=1';
}