add a filter hook to media field previews