I am currently creating a migration script from Forem to wordpress using the Forem API. The script passes the parameters to the API and publishes the article. Everything works well except for the cover image.
I am passing a link to the image:
Image size: 1607x2506px
When an article is published on Forem, the cover image is transferred at 280x420 and looks terrible. Also, the image format changed from .jpg to this:
As I understand it, when publishing articles using the API, all images change the format, but only the cover image changes size. Tell me how to solve this? thanks