diff --git a/src/stills/main.py b/src/stills/main.py index 61da06c..e7d2cbd 100644 --- a/src/stills/main.py +++ b/src/stills/main.py @@ -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