Isnt this already done by simple pie when it fetches the feeds? Without absolute urls it couldnt show the images.