Upload image from URL and set as featured image in WordPress