Basic validation for image name