Skip to content

Commit

Permalink
Update images
Browse files Browse the repository at this point in the history
  • Loading branch information
jochemloedeman committed Nov 10, 2024
1 parent d14143e commit 34ccf82
Show file tree
Hide file tree
Showing 64 changed files with 21 additions and 22 deletions.
Binary file modified app/images/lightbox/image_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_17.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_21.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_23.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_24.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_25.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_26.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_27.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_28.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/images/lightbox/image_29.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/images/lightbox/image_30.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/images/lightbox/image_31.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/images/lightbox/image_32.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/images/lightbox/image_4.jpg
Binary file modified app/images/lightbox/image_5.jpg
Binary file modified app/images/lightbox/image_6.jpg
Binary file modified app/images/lightbox/image_7.jpg
Binary file modified app/images/lightbox/image_8.jpg
Binary file modified app/images/lightbox/image_9.jpg
Binary file modified app/images/thumbnail/image_0.jpg
Binary file modified app/images/thumbnail/image_1.jpg
Binary file modified app/images/thumbnail/image_10.jpg
Binary file modified app/images/thumbnail/image_11.jpg
Binary file modified app/images/thumbnail/image_12.jpg
Binary file modified app/images/thumbnail/image_13.jpg
Binary file modified app/images/thumbnail/image_14.jpg
Binary file modified app/images/thumbnail/image_15.jpg
Binary file modified app/images/thumbnail/image_16.jpg
Binary file modified app/images/thumbnail/image_17.jpg
Binary file modified app/images/thumbnail/image_2.jpg
Binary file modified app/images/thumbnail/image_20.jpg
Binary file modified app/images/thumbnail/image_21.jpg
Binary file modified app/images/thumbnail/image_22.jpg
Binary file modified app/images/thumbnail/image_23.jpg
Binary file modified app/images/thumbnail/image_24.jpg
Binary file modified app/images/thumbnail/image_25.jpg
Binary file modified app/images/thumbnail/image_26.jpg
Binary file modified app/images/thumbnail/image_27.jpg
Binary file modified app/images/thumbnail/image_28.jpg
Binary file added app/images/thumbnail/image_29.jpg
Binary file modified app/images/thumbnail/image_3.jpg
Binary file added app/images/thumbnail/image_30.jpg
Binary file added app/images/thumbnail/image_31.jpg
Binary file added app/images/thumbnail/image_32.jpg
Binary file modified app/images/thumbnail/image_4.jpg
Binary file modified app/images/thumbnail/image_5.jpg
Binary file modified app/images/thumbnail/image_6.jpg
Binary file modified app/images/thumbnail/image_7.jpg
Binary file modified app/images/thumbnail/image_8.jpg
Binary file modified app/images/thumbnail/image_9.jpg
38 changes: 17 additions & 21 deletions app/scripts/distribute_images.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 4 additions & 1 deletion utils/prepare_images.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from pathlib import Path
from PIL import Image

Expand All @@ -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
Expand Down

0 comments on commit 34ccf82

Please sign in to comment.