move configs to a central place
specify image alignment in dialog