Updated the generation of absolute image URLs.