automatically set the first image as the featured image