diff --git a/webapp_utils.py b/webapp_utils.py index 4300c7db0..43f41f96e 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -1233,6 +1233,12 @@ def get_post_attachments_as_html(base_dir: str, for attach in post_json_object['object']['attachment']: if not (attach.get('mediaType') and attach.get('url')): continue + media_license = '' + if attach.get('schema:license'): + media_license = attach['schema:license'] + media_creator = '' + if attach.get('schema:creator'): + media_creator = attach['schema:creator'] media_type = attach['mediaType'] image_description = '' @@ -1337,11 +1343,24 @@ def get_post_attachments_as_html(base_dir: str, '