I have a short function which I keep in a plugin.
It looks for images attached to a post, and inserts them into the_content.
It works fine for single.php but in loop.php (showing 10 posts at a time) it only works when the images are not attached to any other post.
it seems as if get_children is not seeing the attachments from loop.php???
is there a way to fix this?