display attachment preview widget inline