add image extension to lower characters