Thumbnail informations (meta)

Try the following code inside the loop and modify it as per requirement.

$thumb_id = get_post_thumbnail_id();
echo 'Name=".  get_post_field( "post_name', $thumb_id ).'<br />';
echo 'Alt=".  get_post_meta( $thumb_id, "_wp_attachment_image_alt', true ).'<br />';
echo 'Title=".  get_the_title( $thumb_id )."<br />';
echo 'Caption = '.  get_post_field( 'post_excerpt', $thumb_id ).'<br />';
echo 'Description = '.  get_post_field( 'post_content', $thumb_id ).'<br />';
echo 'SRC = "https://wordpress.stackexchange.com/questions/59463/. wp_get_attachment_url( $thumb_id )."<br />';
echo 'URL = '. get_permalink( $thumb_id ).'<br />';

tech