summaryrefslogtreecommitdiff
path: root/animism-align/cli/commands
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/cli/commands')
-rw-r--r--animism-align/cli/commands/site/export.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/animism-align/cli/commands/site/export.py b/animism-align/cli/commands/site/export.py
index f9560c6..987ee43 100644
--- a/animism-align/cli/commands/site/export.py
+++ b/animism-align/cli/commands/site/export.py
@@ -134,6 +134,8 @@ def rewrite_db_media(db, fp_out, url_out):
# galleries - a bunch of lookups... we PROBABLY don't need image_lookup (fullsize)
elif item['type'] == 'gallery':
new_image_lookup = {}
+ if 'thumbnail' in settings:
+ settings['thumbnail'] = rewrite_upload(to_copy, settings['thumbnail'], fp_out, url_out)
for id in settings['image_order']:
id = str(id)
if id in settings['image_lookup']: