Adjusted processing of image attachments for new structure of queried data array.
Fixed usage of attachment URL return (string, not array).