Can anybody suggest me what's the function to obtain all of the images saved for wordpress? I simply need to list all of the images seen under menu Media from the wordpress admin.

Thanks ahead of time

Submitted images are saved as posts using the type "attachment" use get_posts() using the right parameters. In the Codex entry for get_posts(), this situation:

<?php

$args = array(
    'post_type' => 'attachment',
    'numberposts' => -1,
    'post_status' => null,
    'post_parent' => null, // any parent
    ); 
$attachments = get_posts($args);
if ($attachments) {
    foreach ($attachments as $post) {
        setup_postdata($post);
        the_title();
        the_attachment_link($post->ID, false);
        the_excerpt();
    }
}

?>

...loops through all of the accessories and shows them.

If you want to get images, you may want to filter through the mime type (I believe this is the attachment's post_mime_type attribute), but hopefully this is sufficient to enable you to get headed within the right direction.