changing the image extention capitalization