Allow customizing of display component, e.g. for image preview