[jQuery] img tag wrap in p tags

[jQuery] img tag wrap in p tags


All,
im trying to get the syntax down to find all img tags that are NOT
surrounded by

tags and wrap those img tags in

tags.
I can get the selector to get all img tags and wrap it in a

tag
but i need to further take it to disregard the img tags that already
are wrapped in


pseudocode
$(img parent tag not equal to p).each().....
thank you for any help you can give me.