normalize imageName when using it as part of filename