I need to loop through some content in a Sitecore solution (recursivly) and seek in all the fields in the item for references to media items. It is a Sitecore 6.5 solution, so out of the box it uses guid's to reference media items. But this is a solution that has been migrated to 6.5, so all media items references are not by guid's but a direct url to the media library.
I need to change this, so all links are referenced with the guid. Any idea on how best to do this?