OK; as far I see this is not a bug.
See, if you are on a Loop, as in a view, you have many images to output.
We can not know, what you want to output for each Image there.
I mean, if you leave the fields empty in the GUI when inserting the Field, what does that mean?
Doe you want all images empty, or some to fall back to what you set in WordPress, and some not?
On the other hand, what if you want to fill in the fields.
By default then Views will loop each image and just add the infos there, overwriting your previously set things.
That is how loops work, it's not a Bug in Views.
On the other hand, if you set a ALT and caption in WordPress media uploader or when you upload the image to the Types Image Field and insert it DIRECTLY to a single post, you will see, that this info is correct grabbed from the Attachment image info, and displayed.
That's because in this case the GUI is automatically populated with the info you entered earlier, since we are NOT in a loop here, there is no confusion on too many infos.
So, this is a feature request which i filed but I don't yet see an easy way to provide a comprehensive GUI for this.
I am restricted to wait for confirmation from the DEV Team in regard to this.
As for now, what you can do is use Custom PHP and create as example a ShortCode which you use to populate the alt/caption attributes in the Types Image Field ShortCode.
This is custom code, but as a example to start with you can use this below
function image_meta_helper_func( $atts ){
$post_id = get_the_ID ();
$args = array(
'posts_per_page' => -1,
'post_type' => 'attachment',
'post_parent' => $post_id,
);
$the_attachements = get_posts( $args );
if ($the_attachements){
foreach ($the_attachements as $the_attachement) {
$attachment_post = get_post($the_attachement);
$attachment_id = $attachment_post->ID;
$alt = get_post_meta($attachment_id, '_wp_attachment_image_alt', true);//Alt text
}
return $alt;
}
}
add_shortcode( 'img-meta', 'image_meta_helper_func' );
Above gets the ALT and returns it so you can dynamically populate the Types ShortCode with it.
Another idea is to simply (if used on Views) fill in the Fields in the GUI.
I apologize that there is no better solution yet.
Thank you