Add title to image post

Sorry, but I don’t see any of those parameters in the parameter list for wp_get_recent_posts.

$args = array(
    'numberposts' => 10,
    'offset' => 0,
    'category' => 0,
    'orderby' => 'post_date',
    'order' => 'DESC',
    'include' => ,
    'exclude' => ,
    'meta_key' => ,
    'meta_value' =>,
    'post_type' => 'post',
    'post_status' => 'draft, publish, future, pending, private',
    'suppress_filters' => true );

Compare to your code.

    $default_attr = array(
        'src'   => $src,
        'class' => "attachment-$size",
        'alt'   => trim(strip_tags( $attachment->post_excerpt )),
        'title' => trim(strip_tags( $attachment->post_title )),
    );
    $pages = wp_get_recent_posts($default_attr);

Those are the correct parameters for get_the_post_thumbnail

// straight from the Codex
$default_attr = array(
    'src'   => $src,
    'class' => "attachment-$size",
    'alt'   => trim(strip_tags( $attachment->post_excerpt )),
    'title' => trim(strip_tags( $attachment->post_title )),
);

… but you aren’t using them for that, which looks like the mistake to me. Your call to get_the_post_thumbnail needs to be…

echo get_the_post_thumbnail($page["ID"],'',$default_attr);

.. and you don’t need to passing those parameters to wp_get_recent_posts.

It looks like you have copied the default parameters from the Codex and are attempting to use those unaltered. That is not going to work. Those default parameters depend on things that are not set for your code. Secondly, you only need to pass the parameters that you want to change. For example…

// straight from the Codex
$default_attr = array(
    'class' => "nifty-class", // this is added to other classes. It does not replace them
    'alt'   => "I am soooo alt",
    'title' => "And I am a title",
);
echo get_the_post_thumbnail($page["ID"],'',$default_attr);

If you pass a src it has to be correct or the image will not load.