Automatic image preview hide option