apply_filters to featured image

Use get_the_post_thumbnail( $id ):

$thumb = get_the_post_thumbnail( $id, 'post-thumbnail' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)