$url, 'alt' => (string) get_post_meta($id, '_wp_attachment_image_alt', true)]; } }