changed featured image function
merge brian's latest