Images also extracted and added to tex