made image src into relative paths