How to use the coverImage from the Wix blog API.

How to use the coverImage from the Wix blog API. The response that I am getting is

"coverImage": "wix:image://v1/97619f_12be6bf8b7494b9e9c6aa6d968baf8fb~mv2.png/97619f_12be6bf8b7494b9e9c6aa6d968baf8fb~mv2.png#originWidth=1220&originHeight=813",

The URL mentioned above is supposed to give me the cover image that I have added in the Wix blog. One workaround that I discovered was to extract the image file name i.e. 97619f_12be6bf8b7494b9e9c6aa6d968baf8fb~mv2.png in the above example and add it to the static medial URL.

http://static.wixstatic.com/media/7619f_12be6bf8b7494    

This is working for me but since this is not a documented way I’m not sure if this will work forever.


NO, you are right, there is no guarantee it will work (in fact, over time, it has changed and we had to adapt code). That´s why we have asked for a Wix function “getTrueUrl”. Crossing fingers.