Saves the image name used.

Saving and loading is more robust