Automagically set featured image based on first image or first video in post