fixed file extention for an image