Rename images and insert them into latex file