Metafield Image GraphQL

juustanotherdev
Tourist
8 1 2

Hello everyone,

 

I have some problems understanding how it is possible to receive an image object of the StoreFront API in the Metafields.

 

If I drag images in the Metafields I get a list of ids as a result:

 

["gid://shopify/MediaImage/00000000000000"]

 

However in Collections and Products for images I receive an object with id, originalSrc and altText.

 

So is there any particular way to access originalSrc via id?

 

Hopefully anyone can help here.

 

LG

 

Replies 0 (0)