In order to create a post that works well in vertical format, try to have a picture which has a similar ratio as:
2600px height x 1500px width or similarly
1300px height x 750px width
As long as it is the same ratio you can use any dimensions. The larger the number of pixels, the better the quality of the image. Try to avoid uploading images that are too heavy.