@Wedframe you would have to do a query for attachment ids and the best function i could find to get image path would be fetch_attachment_path. I would use it in a php loop.
@MarkFL I don't think attachments are stored in the $post['message'] un-less they embed the image in the post.
If i get time i could write the code maybe MarkFL can or another coder.
this is what the function look like.
I could be going at this all wrong i don't know much about the attachments.
--Edited--
|