Image extension is lost when uploading images #5

Image extension is lost when uploading images #5