Small fix for image media. Ari, you can use this as an example. Only the ID of the attachment is returned. You have to query for the actual image.