Changing file format to fix images