Change ordering of images
This commit is contained in:
@@ -62,7 +62,7 @@ def generate_html(images, output_dir: Path, author: str | None = None):
|
||||
photos_dir = output_dir / 'photos'
|
||||
photos_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
for img in images:
|
||||
for img in reversed(images):
|
||||
relative_image_path = f'photos/{img.name}'
|
||||
with Image.open(img) as im:
|
||||
width, height = im.size
|
||||
|
||||
Reference in New Issue
Block a user