aboutsummaryrefslogtreecommitdiffstats
path: root/art
diff options
context:
space:
mode:
Diffstat (limited to 'art')
-rw-r--r--art/photos/fern-background.jpegbin0 -> 4615820 bytes
-rw-r--r--art/photos/fern_and_ladybug.jpegbin0 -> 3706377 bytes
-rw-r--r--art/photos/moss_landscape.jpgbin0 -> 2403595 bytes
-rwxr-xr-xart/thumbs.sh8
4 files changed, 6 insertions, 2 deletions
diff --git a/art/photos/fern-background.jpeg b/art/photos/fern-background.jpeg
new file mode 100644
index 0000000..75b6481
--- /dev/null
+++ b/art/photos/fern-background.jpeg
Binary files differ
diff --git a/art/photos/fern_and_ladybug.jpeg b/art/photos/fern_and_ladybug.jpeg
new file mode 100644
index 0000000..b843dea
--- /dev/null
+++ b/art/photos/fern_and_ladybug.jpeg
Binary files differ
diff --git a/art/photos/moss_landscape.jpg b/art/photos/moss_landscape.jpg
new file mode 100644
index 0000000..06cde87
--- /dev/null
+++ b/art/photos/moss_landscape.jpg
Binary files differ
diff --git a/art/thumbs.sh b/art/thumbs.sh
index 758b0a9..3c1a633 100755
--- a/art/thumbs.sh
+++ b/art/thumbs.sh
@@ -28,9 +28,13 @@ for dir in $_img_dirs
do
cd "./$dir" || exit 1
- [ -d "$_thumbs_dir" ] || mkdir "$_thumbs_dir"
+ mkdir -p "$_thumbs_dir"
- _imgs="$(find . -maxdepth 1 -type f | cut -b 3-)"
+ _imgs="$(find . -maxdepth 1 \
+ -iname "*.jpg" -or \
+ -iname "*.jpeg" -or \
+ -iname "*.gif" -or \
+ -iname "*.png" -type f | cut -b 3-)"
for _img in $_imgs
do
_ext="${_img##*.}"