Corrected creation of internal image urls.