It's great what I am able to do with API integration in webstudio. But I have some issues with fetching images from API.
I am trying to fetch a collection created in Strapi using "Resource" variable into Webstudio page. When the image is mapped to the "Source" field as URL the image is not getting rendered properly.
By investigating further observed the image URL as follows:
https://localhost:5173/cgi/image/https%3A//inspiring-candy-d5ab9b6954.media.strapiapp.com/imagename.jpg?width=640&quality=80&format=autoI understand that the root path is getting attached to the original URL path from API.
How do I resolve? Any help is appreciated.