Thanks for the SQL fix - it seems to work well for me :)
One problem I have got though is that if I use Open to edit an existing post, then it seems like I get a new related image every time - i.e. if I save the post 5 times then I get the ai image in the related list 5 times - is there any way around this?
Thanks again - an absolutely excellent DNN extension :)