fixes #25: document how to use the new 'get_preview_data'