Hook up the auto-hide images preference.