Implement a cover image selector in the post editor. When an image is selected, reorder the json_metadata.image array and place the selected image as first element.