diff --git a/app/images/lightbox/image_0.jpg b/app/images/lightbox/image_0.jpg index 3a9174f..080d379 100644 Binary files a/app/images/lightbox/image_0.jpg and b/app/images/lightbox/image_0.jpg differ diff --git a/app/images/lightbox/image_1.jpg b/app/images/lightbox/image_1.jpg index 9c908fc..d935d53 100644 Binary files a/app/images/lightbox/image_1.jpg and b/app/images/lightbox/image_1.jpg differ diff --git a/app/images/lightbox/image_10.jpg b/app/images/lightbox/image_10.jpg index b05fc89..c0bb61e 100644 Binary files a/app/images/lightbox/image_10.jpg and b/app/images/lightbox/image_10.jpg differ diff --git a/app/images/lightbox/image_11.jpg b/app/images/lightbox/image_11.jpg index 9a0dada..42fffb2 100644 Binary files a/app/images/lightbox/image_11.jpg and b/app/images/lightbox/image_11.jpg differ diff --git a/app/images/lightbox/image_12.jpg b/app/images/lightbox/image_12.jpg index b4cfed5..c783b17 100644 Binary files a/app/images/lightbox/image_12.jpg and b/app/images/lightbox/image_12.jpg differ diff --git a/app/images/lightbox/image_13.jpg b/app/images/lightbox/image_13.jpg index 0d82466..45bac6c 100644 Binary files a/app/images/lightbox/image_13.jpg and b/app/images/lightbox/image_13.jpg differ diff --git a/app/images/lightbox/image_14.jpg b/app/images/lightbox/image_14.jpg index 7784169..b05fc89 100644 Binary files a/app/images/lightbox/image_14.jpg and b/app/images/lightbox/image_14.jpg differ diff --git a/app/images/lightbox/image_15.jpg b/app/images/lightbox/image_15.jpg index 833a54f..9a0dada 100644 Binary files a/app/images/lightbox/image_15.jpg and b/app/images/lightbox/image_15.jpg differ diff --git a/app/images/lightbox/image_16.jpg b/app/images/lightbox/image_16.jpg index 1dd850d..0d82466 100644 Binary files a/app/images/lightbox/image_16.jpg and b/app/images/lightbox/image_16.jpg differ diff --git a/app/images/lightbox/image_17.jpg b/app/images/lightbox/image_17.jpg index d6160b7..7784169 100644 Binary files a/app/images/lightbox/image_17.jpg and b/app/images/lightbox/image_17.jpg differ diff --git a/app/images/lightbox/image_2.jpg b/app/images/lightbox/image_2.jpg index c27f8af..833a54f 100644 Binary files a/app/images/lightbox/image_2.jpg and b/app/images/lightbox/image_2.jpg differ diff --git a/app/images/lightbox/image_20.jpg b/app/images/lightbox/image_20.jpg index 81d2624..234c932 100644 Binary files a/app/images/lightbox/image_20.jpg and b/app/images/lightbox/image_20.jpg differ diff --git a/app/images/lightbox/image_21.jpg b/app/images/lightbox/image_21.jpg index 234c932..886277c 100644 Binary files a/app/images/lightbox/image_21.jpg and b/app/images/lightbox/image_21.jpg differ diff --git a/app/images/lightbox/image_22.jpg b/app/images/lightbox/image_22.jpg index 886277c..7e9f857 100644 Binary files a/app/images/lightbox/image_22.jpg and b/app/images/lightbox/image_22.jpg differ diff --git a/app/images/lightbox/image_23.jpg b/app/images/lightbox/image_23.jpg index d935d53..82a1eef 100644 Binary files a/app/images/lightbox/image_23.jpg and b/app/images/lightbox/image_23.jpg differ diff --git a/app/images/lightbox/image_24.jpg b/app/images/lightbox/image_24.jpg index 7e9f857..df5bea2 100644 Binary files a/app/images/lightbox/image_24.jpg and b/app/images/lightbox/image_24.jpg differ diff --git a/app/images/lightbox/image_25.jpg b/app/images/lightbox/image_25.jpg index 82a1eef..8a703de 100644 Binary files a/app/images/lightbox/image_25.jpg and b/app/images/lightbox/image_25.jpg differ diff --git a/app/images/lightbox/image_26.jpg b/app/images/lightbox/image_26.jpg index b77f9cd..4cc1b03 100644 Binary files a/app/images/lightbox/image_26.jpg and b/app/images/lightbox/image_26.jpg differ diff --git a/app/images/lightbox/image_27.jpg b/app/images/lightbox/image_27.jpg index df5bea2..d6160b7 100644 Binary files a/app/images/lightbox/image_27.jpg and b/app/images/lightbox/image_27.jpg differ diff --git a/app/images/lightbox/image_28.jpg b/app/images/lightbox/image_28.jpg index 8a703de..bff706b 100644 Binary files a/app/images/lightbox/image_28.jpg and b/app/images/lightbox/image_28.jpg differ diff --git a/app/images/lightbox/image_29.jpg b/app/images/lightbox/image_29.jpg new file mode 100644 index 0000000..7c8d2ed Binary files /dev/null and b/app/images/lightbox/image_29.jpg differ diff --git a/app/images/lightbox/image_3.jpg b/app/images/lightbox/image_3.jpg index 7fcd13f..b4cfed5 100644 Binary files a/app/images/lightbox/image_3.jpg and b/app/images/lightbox/image_3.jpg differ diff --git a/app/images/lightbox/image_30.jpg b/app/images/lightbox/image_30.jpg new file mode 100644 index 0000000..ad33417 Binary files /dev/null and b/app/images/lightbox/image_30.jpg differ diff --git a/app/images/lightbox/image_31.jpg b/app/images/lightbox/image_31.jpg new file mode 100644 index 0000000..6451224 Binary files /dev/null and b/app/images/lightbox/image_31.jpg differ diff --git a/app/images/lightbox/image_32.jpg b/app/images/lightbox/image_32.jpg new file mode 100644 index 0000000..e28b52a Binary files /dev/null and b/app/images/lightbox/image_32.jpg differ diff --git a/app/images/lightbox/image_4.jpg b/app/images/lightbox/image_4.jpg index c0bb61e..1dd850d 100644 Binary files a/app/images/lightbox/image_4.jpg and b/app/images/lightbox/image_4.jpg differ diff --git a/app/images/lightbox/image_5.jpg b/app/images/lightbox/image_5.jpg index 42fffb2..b77f9cd 100644 Binary files a/app/images/lightbox/image_5.jpg and b/app/images/lightbox/image_5.jpg differ diff --git a/app/images/lightbox/image_6.jpg b/app/images/lightbox/image_6.jpg index c783b17..7fcd13f 100644 Binary files a/app/images/lightbox/image_6.jpg and b/app/images/lightbox/image_6.jpg differ diff --git a/app/images/lightbox/image_7.jpg b/app/images/lightbox/image_7.jpg index 45bac6c..3a9174f 100644 Binary files a/app/images/lightbox/image_7.jpg and b/app/images/lightbox/image_7.jpg differ diff --git a/app/images/lightbox/image_8.jpg b/app/images/lightbox/image_8.jpg index 080d379..9c908fc 100644 Binary files a/app/images/lightbox/image_8.jpg and b/app/images/lightbox/image_8.jpg differ diff --git a/app/images/lightbox/image_9.jpg b/app/images/lightbox/image_9.jpg index 4cc1b03..c27f8af 100644 Binary files a/app/images/lightbox/image_9.jpg and b/app/images/lightbox/image_9.jpg differ diff --git a/app/images/thumbnail/image_0.jpg b/app/images/thumbnail/image_0.jpg index 0948aeb..ad5b67f 100644 Binary files a/app/images/thumbnail/image_0.jpg and b/app/images/thumbnail/image_0.jpg differ diff --git a/app/images/thumbnail/image_1.jpg b/app/images/thumbnail/image_1.jpg index e2fde29..61867d7 100644 Binary files a/app/images/thumbnail/image_1.jpg and b/app/images/thumbnail/image_1.jpg differ diff --git a/app/images/thumbnail/image_10.jpg b/app/images/thumbnail/image_10.jpg index d1d8a12..d42d868 100644 Binary files a/app/images/thumbnail/image_10.jpg and b/app/images/thumbnail/image_10.jpg differ diff --git a/app/images/thumbnail/image_11.jpg b/app/images/thumbnail/image_11.jpg index 26dffdd..512de99 100644 Binary files a/app/images/thumbnail/image_11.jpg and b/app/images/thumbnail/image_11.jpg differ diff --git a/app/images/thumbnail/image_12.jpg b/app/images/thumbnail/image_12.jpg index 9456c09..e595b25 100644 Binary files a/app/images/thumbnail/image_12.jpg and b/app/images/thumbnail/image_12.jpg differ diff --git a/app/images/thumbnail/image_13.jpg b/app/images/thumbnail/image_13.jpg index 6709e4b..17b3832 100644 Binary files a/app/images/thumbnail/image_13.jpg and b/app/images/thumbnail/image_13.jpg differ diff --git a/app/images/thumbnail/image_14.jpg b/app/images/thumbnail/image_14.jpg index fa8cc83..d1d8a12 100644 Binary files a/app/images/thumbnail/image_14.jpg and b/app/images/thumbnail/image_14.jpg differ diff --git a/app/images/thumbnail/image_15.jpg b/app/images/thumbnail/image_15.jpg index 880fc97..26dffdd 100644 Binary files a/app/images/thumbnail/image_15.jpg and b/app/images/thumbnail/image_15.jpg differ diff --git a/app/images/thumbnail/image_16.jpg b/app/images/thumbnail/image_16.jpg index 0b99d62..6709e4b 100644 Binary files a/app/images/thumbnail/image_16.jpg and b/app/images/thumbnail/image_16.jpg differ diff --git a/app/images/thumbnail/image_17.jpg b/app/images/thumbnail/image_17.jpg index 790011b..fa8cc83 100644 Binary files a/app/images/thumbnail/image_17.jpg and b/app/images/thumbnail/image_17.jpg differ diff --git a/app/images/thumbnail/image_2.jpg b/app/images/thumbnail/image_2.jpg index d84fc18..880fc97 100644 Binary files a/app/images/thumbnail/image_2.jpg and b/app/images/thumbnail/image_2.jpg differ diff --git a/app/images/thumbnail/image_20.jpg b/app/images/thumbnail/image_20.jpg index d83b889..9f5864d 100644 Binary files a/app/images/thumbnail/image_20.jpg and b/app/images/thumbnail/image_20.jpg differ diff --git a/app/images/thumbnail/image_21.jpg b/app/images/thumbnail/image_21.jpg index 9f5864d..b69c347 100644 Binary files a/app/images/thumbnail/image_21.jpg and b/app/images/thumbnail/image_21.jpg differ diff --git a/app/images/thumbnail/image_22.jpg b/app/images/thumbnail/image_22.jpg index b69c347..92273d0 100644 Binary files a/app/images/thumbnail/image_22.jpg and b/app/images/thumbnail/image_22.jpg differ diff --git a/app/images/thumbnail/image_23.jpg b/app/images/thumbnail/image_23.jpg index 61867d7..285dd16 100644 Binary files a/app/images/thumbnail/image_23.jpg and b/app/images/thumbnail/image_23.jpg differ diff --git a/app/images/thumbnail/image_24.jpg b/app/images/thumbnail/image_24.jpg index 92273d0..8e0dd92 100644 Binary files a/app/images/thumbnail/image_24.jpg and b/app/images/thumbnail/image_24.jpg differ diff --git a/app/images/thumbnail/image_25.jpg b/app/images/thumbnail/image_25.jpg index 285dd16..b67fe3c 100644 Binary files a/app/images/thumbnail/image_25.jpg and b/app/images/thumbnail/image_25.jpg differ diff --git a/app/images/thumbnail/image_26.jpg b/app/images/thumbnail/image_26.jpg index 7bc3a0d..cb0e58d 100644 Binary files a/app/images/thumbnail/image_26.jpg and b/app/images/thumbnail/image_26.jpg differ diff --git a/app/images/thumbnail/image_27.jpg b/app/images/thumbnail/image_27.jpg index 8e0dd92..790011b 100644 Binary files a/app/images/thumbnail/image_27.jpg and b/app/images/thumbnail/image_27.jpg differ diff --git a/app/images/thumbnail/image_28.jpg b/app/images/thumbnail/image_28.jpg index b67fe3c..74a2559 100644 Binary files a/app/images/thumbnail/image_28.jpg and b/app/images/thumbnail/image_28.jpg differ diff --git a/app/images/thumbnail/image_29.jpg b/app/images/thumbnail/image_29.jpg new file mode 100644 index 0000000..9fe2138 Binary files /dev/null and b/app/images/thumbnail/image_29.jpg differ diff --git a/app/images/thumbnail/image_3.jpg b/app/images/thumbnail/image_3.jpg index 306bf53..9456c09 100644 Binary files a/app/images/thumbnail/image_3.jpg and b/app/images/thumbnail/image_3.jpg differ diff --git a/app/images/thumbnail/image_30.jpg b/app/images/thumbnail/image_30.jpg new file mode 100644 index 0000000..29c3ea7 Binary files /dev/null and b/app/images/thumbnail/image_30.jpg differ diff --git a/app/images/thumbnail/image_31.jpg b/app/images/thumbnail/image_31.jpg new file mode 100644 index 0000000..a5b1e35 Binary files /dev/null and b/app/images/thumbnail/image_31.jpg differ diff --git a/app/images/thumbnail/image_32.jpg b/app/images/thumbnail/image_32.jpg new file mode 100644 index 0000000..d3b4f50 Binary files /dev/null and b/app/images/thumbnail/image_32.jpg differ diff --git a/app/images/thumbnail/image_4.jpg b/app/images/thumbnail/image_4.jpg index d42d868..0b99d62 100644 Binary files a/app/images/thumbnail/image_4.jpg and b/app/images/thumbnail/image_4.jpg differ diff --git a/app/images/thumbnail/image_5.jpg b/app/images/thumbnail/image_5.jpg index 512de99..7bc3a0d 100644 Binary files a/app/images/thumbnail/image_5.jpg and b/app/images/thumbnail/image_5.jpg differ diff --git a/app/images/thumbnail/image_6.jpg b/app/images/thumbnail/image_6.jpg index e595b25..306bf53 100644 Binary files a/app/images/thumbnail/image_6.jpg and b/app/images/thumbnail/image_6.jpg differ diff --git a/app/images/thumbnail/image_7.jpg b/app/images/thumbnail/image_7.jpg index 17b3832..0948aeb 100644 Binary files a/app/images/thumbnail/image_7.jpg and b/app/images/thumbnail/image_7.jpg differ diff --git a/app/images/thumbnail/image_8.jpg b/app/images/thumbnail/image_8.jpg index ad5b67f..e2fde29 100644 Binary files a/app/images/thumbnail/image_8.jpg and b/app/images/thumbnail/image_8.jpg differ diff --git a/app/images/thumbnail/image_9.jpg b/app/images/thumbnail/image_9.jpg index cb0e58d..d84fc18 100644 Binary files a/app/images/thumbnail/image_9.jpg and b/app/images/thumbnail/image_9.jpg differ diff --git a/app/scripts/distribute_images.js b/app/scripts/distribute_images.js index 87adc10..e9d10e1 100644 --- a/app/scripts/distribute_images.js +++ b/app/scripts/distribute_images.js @@ -1,33 +1,29 @@ // Array of image sources const images = [ + "image_9.jpg", "image_12.jpg", - "image_3.jpg", - "image_14.jpg", - "image_4.jpg", - "image_21.jpg", "image_6.jpg", - "image_9.jpg", - "image_23.jpg", - "image_5.jpg", - "image_0.jpg", + "image_32.jpg", + "image_3.jpg", "image_7.jpg", - "image_2.jpg", - "image_8.jpg", - "image_10.jpg", + "image_15.jpg", + "image_20.jpg", + "image_14.jpg", "image_13.jpg", - "image_11.jpg", + "image_16.jpg", + "image_10.jpg", "image_19.jpg", + "image_17.jpg", "image_1.jpg", - // "image_16.jpg", - // "image_17.jpg", - // "image_18.jpg", - "image_22.jpg", - "image_25.jpg", - "image_20.jpg", - "image_27.jpg", - // "image_15.jpg", + "image_8.jpg", + "image_21.jpg", "image_24.jpg", - // "image_26.jpg", + "image_11.jpg", + "image_25.jpg", + "image_26.jpg", + "image_29.jpg", + "image_30.jpg", + "image_31.jpg", ]; const twoColumnThreshold = 640; diff --git a/utils/prepare_images.py b/utils/prepare_images.py index 1eb53ca..476e638 100644 --- a/utils/prepare_images.py +++ b/utils/prepare_images.py @@ -1,3 +1,4 @@ +import os from pathlib import Path from PIL import Image @@ -14,7 +15,9 @@ lightbox_folder.mkdir(exist_ok=True) thumbnail_folder.mkdir(exist_ok=True) - images = list(image_folder.glob("*.j*pg")) + images = list( + sorted(image_folder.glob("*.j*pg"), key=os.path.getmtime, reverse=False) + ) for index, image in enumerate(images): # Create lightbox version