Replacing image in the index file