WP erhalten Anhangs -ID

get_post_thumbnail_id()
Andrew Lautenbach