Getting images from a global collection?

default discord avatar
plainnn
3 months ago
1

I have a global collection which has a field of

relationship

to my blog posts, however when I use

payload.findGlobal

the image returned is just an ID (rather than the full image object like when using

.find

) - how do I turn this ID into the image object?

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.