Using Gateway Avatars

Hi there,

I have managed to figure out how to retrieve avatars from the vcard table using the VCard object, but now I am trying to figure out how to pull avatars out of the gatewayavatars table. How would one accomplish this?

Thanks!