add jpeg/jpg image types if the other one is missing