I made a macro to do just that: Macro: Extract Found Image Image and Replace with Path - #3 by Sleepy .
For more information, see the wiki Searching the Forum for Answers section.