From a46412486829a416fb99febaae4679c60da70803 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 16 Nov 2020 17:20:30 +0100 Subject: fix video thumb --- animism-align/cli/commands/site/export.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'animism-align/cli/commands/site/export.py') 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']: -- cgit v1.2.3-70-g09d2