changes image link to local