Replace the remote img with the local one.