diff --git a/webapp_utils.py b/webapp_utils.py
index e5446dc93..fe68816a0 100644
--- a/webapp_utils.py
+++ b/webapp_utils.py
@@ -1284,11 +1284,30 @@ def get_post_attachments_as_html(base_dir: str,
gallery_str += '
\n'
if not is_muted:
gallery_str += '
\n'
+ if media_license or media_creator:
+ gallery_str += ' \n'
+ license_str = ''
+ if media_license:
+ if '://' in media_license:
+ license_str += \
+ '
©'
+ else:
+ license_str += media_license
+ if media_creator:
+ if license_str:
+ license_str += ' '
+ license_str += media_creator
+ if media_license or media_creator:
+ gallery_str += \
+ ' ' + license_str + \
+ '\n'
if post_json_object['object'].get('url'):
image_post_url = post_json_object['object']['url']
else: