Change ordering of images

This commit is contained in:
Alexander Wainwright
2025-04-13 15:17:51 +10:00
parent 6d583c5b14
commit 13a1b4cc50

View File

@@ -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