fixed image preview for settings page