Skip to content

Commit

Permalink
performance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoCalzoni committed May 31, 2024
1 parent 64bb12d commit b16aa47
Show file tree
Hide file tree
Showing 401 changed files with 398 additions and 163 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Developed by Federico Calzoni.
1. copy gallery.sh in the folder created
2. run gallery.sh
```bash
gallery.sh -t "My Photos" -d "thumbs"
sh gallery.sh -t "My Photos" -d "thumbs"
```
- (replace "My Photos" with the title of the album, a.e.: 29/07/23 #Cumbesa")
1. delete gallery.sh from the folder
Expand All @@ -39,6 +39,7 @@ Developed by Federico Calzoni.
```
- Replace "images/29-07-23/index.html", with the new one.
- Replace "images/29-07-23/thumbs/406/IMG_3293.JPG" with an image that you like from the new ones
- Replace $"29/07/23 <Br> #Cumbesa"$ with the new album name
- Replace "29/07/23 &lt;Br&gt; #Cumbesa" with the new album name

5. Push changes to github and automatically a workflow will start and deploy the updated website.

2 changes: 1 addition & 1 deletion gallery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ for MY_FILENAME in *.[jJ][pP][gG]; do
for MY_RES in "${MY_HEIGHTS[@]}"; do
if [[ ! -s $MY_THUMBDIR/$MY_RES/$MY_FILENAME ]]; then
debugOutput "$MY_THUMBDIR/$MY_RES/$MY_FILENAME"
$MY_CONVERT_COMMAND -auto-orient -strip -quality $MY_QUALITY -resize x$MY_RES "$MY_FILENAME" "$MY_THUMBDIR/$MY_RES/$MY_FILENAME"
$MY_CONVERT_COMMAND -auto-orient -strip -quality $MY_QUALITY -interlace JPEG -resize x$MY_RES "$MY_FILENAME" "$MY_THUMBDIR/$MY_RES/$MY_FILENAME"
fi
done
cat >> "$MY_INDEX_HTML_FILE" << EOF
Expand Down
234 changes: 234 additions & 0 deletions image_checksums.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1918,3 +1918,237 @@ bff1b8e3776d84fae927920798b0fbd3
f4471ddfe943bbd76ec17e1364167277
5409d32f0f5cb4cedcd47a45ad95babd
bbb5219513043960edb2ddbf8b335daf
c493795aa73c070d9f836b0ab480629b
8908855d60d7273410d688c256398617
853e5278a4b7840ab70a9b6f63e9c5ea
6db2492d1c6074ad130e0276f0bc6e5a
dd66e5343a4ed68a1fd1930861222e98
557e310275cb043c0638f9c1c43970cc
64d0882c4ef8cc6298321e6292a2a503
32d1a79675bf6f15424b9b0d8523a3b1
0a028d1addcf499664eb2725f6644ba7
58b1f1665eaf2ae0b54e80f3f26275b3
5006e0289dde48a525c4697136585c74
4c4925ae161cbb028ddc5c82ae63cbb0
a27abfc65504deb2e390f66e5ed0d1a2
432fc8ea87978c4f456c78630f9d0597
99abccccb26bc3f3c94067a3caa14e7e
4fc4d5931dbc76e8f99d7418002e6aaa
e9db148193b11513a6766866eb150490
4eb57e8e1f97d9f6cf68779a8e07580e
7f0bd5c1fe6dbc39ed0a1d19d54a11f6
281a9e3799712502d0e49465068bf824
fcf84c229fdf72ad0d314a2cd5f2dc46
e99f8bf6e5eed2eb46603c096d21b20a
650f5d5bb0b2167e0c2a6904971e4c79
2a6051b81418cb06d4d2e59c898644ab
a438c54931e1116195955dab897afee8
6cff0fa8ab49a963d2ee16b42786ca2e
d7bb68ef0f279cfa0f81f21526d32f68
a4102011f6721e694a6a235986935547
ab9fb4d63ad544bbeb4d36324b9f460e
01a42a0547743631d9b2210aef1f1cbc
e79f66fcacb60d5e2955e069af2a736f
d1113300fa9f18cb3ec598cb793ef8c7
a15c5fb97845053e5337ff44f421068b
d9bd9a6b0c99312508be8c83f8026f67
7b19928bde2bbff525bc358d83d68d34
fbb9fb6306e958158c21a3702ceb42ff
bd0b5234d103ede2ee00f51877d677b5
2229850e33011198f387a659bf2ba0b8
fe12db9a3b1eeb9636950fb11c0c85f3
9fe161003db0a465b047b0b749bb1bf5
dd7835bf08241029a61666b99d7f9774
4e5be824451d9534b495c7a051967a54
f8cb8bf63552507e603e56cb56104808
9092f25ebac88a925f1c32ecd46c046e
06f37fc275aa51a24ccaa4cd94362713
95c58dfdecde25fc061c2642a4c74fd5
186e715a4a3ad03b1e1e8ada42f6b841
7bf1e9d30fb48c1589a9195d6515741d
d17a028d47f6866715b04b0ee0ab3369
ed57607bd8bce64fe2f534f28e43e74c
3e70d1855eaeef477d11cac716613608
0460136604e9c7add1a4cc203dede215
eae387e8dcda7f4346fb92cb3caf5adb
63a70c5ae3699bd7cdb57c2570387a88
ff4a079c65adf3004edae65e45fc39e7
a36d40c3075d098e3fb5a9338f045b3c
e52737462dc96042e439a2ef6d0ad63d
6385490167574000d15a7a866ad1c902
b7f764550da99fa05143827e6c6b3e21
be9e74ceeef4f0b52ca74bc4feb8421c
3f7e6ac112141ddd45f2be8d8415dd7b
559ecb4a0183920d4724f9a8e6a9833c
b82e8745a9c728eee5f975407ea9cb1c
317af37d5dd68bfdf5937e2fbdc7042c
df9ec940c6ad0d07d0f514269fa9d694
9294670f219018e605460209f2e318fa
460e43d11bda9c064303d7ed97033c7d
4c158a2cf940149c72458f0ac11e7fec
e306e06ceb04d7d01a9ebed461bb9410
4d6fa79237c682e1d5cc075905ac0ed8
9d6ac0902c015c39312595f15147dced
5f368b38440e0fb0278513040d0ef1ed
4a96b81cf77fd7cd78bfd241387b8d4c
cd34fab6c17545533e087bdcbc197384
3d66ce98b0f2bb472dec7ab5fce27326
26bd0df8df74753349b96b3e533ec504
37e9f5a5c95187d0f4e42bae86fd305c
aaf3b3a8105db04cc52edc6614a054ba
f6069ba23f9528edfc259ee27236371a
c23044562c2a23eeb91202995109d3ad
c795348c4eae9deb5435d3c9125bc560
1432b1b6e4b6c7a22bb7adf588999d5a
beb01fb6ac017c94012a21f5a5f5d021
9a93def72a4fd2df4ba2f28ccc56ce5d
c9abd59eddd031ac3653f1d2a4b8ce29
300b86250dafa5b953c4dd8d98c515e3
0f948fb745e0bb3bd576a93e62bad938
9801bcbde1621feff10722c11f2d34ec
1440db41a66ced804a8566a01c8021c9
a1356c3524bdc05ce6958c21fd94a22d
0b06adcbd6e41c6491c27c6c7a73b2c9
03fd020c79475d6438fa15fefe9d8d72
069dd9a5b99d12a5d28108c4a8742244
bc34a9b6edca232fb718971b10c72277
67f104080134f2a0eb06a1d144f73b18
565e17913d5ad5fbdcfc3588ac6f07a2
5435ac006042700813d54b86531f6416
5d3f49de812144eaa13815662faf8935
de3f050a3b2335cfd309b90835598f3d
226d7bb3d911382e17baf0ae60424bf8
39efd77354d6d8dc59b9848c1ba6cdb2
b01f6291fa324d3162de14a906b89a50
56855f51cc382755a203de1f83f948ed
1b39b0fe328563136b301f825714a067
77c4808b8d28d00967a745589fdba5e3
c6b1954c2ef8c1b8a1f535d93f71147d
041eea3d0c09b474b3beff0d53a1f457
3db869d18e1ffce30e5df0998b7e1657
3aa9cb88993bc85f28f960c984f69610
a27a7d61ba7ed5d086da79ccd4df3f59
46e5b16c102946b1fbee28f2f3e825b7
887a433359de8cb90c98e9c1fa2b043c
76f2e991f1a7745c97afeb8f8aaa3f74
dc54ee6419d4f6ff45c6a1907594d65f
f5333701d843329a294e3991fa190ad6
11ab816cb86dfe40e8b32990fabb71d2
665160b2d8b259c227ebacc64bc81c4b
8df7227dbac7ab112234a16f3467052d
5edcf32e8106d33daab0cdde2f719703
be764a09b6359a8ff7c70cfbca095f83
d0f55cb0f3d9a58ff5134b898625567b
3cdf4d5b4b7819c77040bdc7e5ffa55a
16fa9aad32cd8de28c9e2355f400bfce
cd3fe5890a7542799a7b2d1112f2fd1f
2498b4e33cba69fa6293d26a6dec2b55
3b1b57fd1551217ba6ef3a5eb7a294e3
651c04272098c4bdeb78a73c4ff2b2a8
d25c8788a2c01d690ab48a1430685601
f31f5182e27f92975d67ba8cdfb1b47f
99109d5819e2b9630a3ae646f1bd4f41
d57083b8ff37ea42cadd3e13b48d4957
b30ad1a52ea8bb5a206c32a5758b3d71
d0b5f651f827d8b58392c021bbc389c3
67fba84a8f304ca7b40bdf199d6a5c18
fa3a9bbd1e5a9c3a451ad2153a1b6f8b
5f80a231fd1cb330f4152ac806b02734
e3bcd4efc7beeaa200b1619a392ee8b7
afe650494769945e5ac99ed4dce089c0
c83581fa4648f6042bf09ee3a491ce07
a664fe1c440558ac029fbf961c16cfd8
4df321f88c5add8dc3941b49fc1aa53e
fb561220ed6eb1e870586d950edd11ed
b9975131b480ec55fd77f9f39378dfc3
2360f074fcc8cb496dfbf8952847f009
75a33b5a97243413c045d0c3b8f3e670
3437bb2d95aa58fe7b96989abf14ab21
c6d009b069be28aa89005e116313eb17
d8eb109e5301bfa2516c17af2ec297ec
429724d2cc8723f68f539be60f29e617
d3032ec2bb1bd2ab87872a5acb44413e
13bc28dc68aad00b30a15a007a2934e9
ca3d354997a3c20bede2e4f2c0e10565
8358da8dc2d11aa60fc8a94197cf42fc
5ccc20e3365f714cd4bc3bf6627daa3e
05f4516b24609da7373e4bf867390af3
2b139a427dbf5e4b75ded89335ea6269
b0899317647a95a435a7bda43a507b18
e615e683f1873ba0030545c20d707cad
ba4e48cbb302fd66b9d3c2a501127142
888e61b258deb583f0bb2ccb51307db4
9c6dcdb33391b9927ae190d06a986f73
d0b2a47238779ee61873cfbe347d180c
652a6c5bd616ce2a52110393b5be34af
5e64557a90061a425c27ba6d8de77f1b
340aec085c15fd30d0a46dc87e51170e
0b163f2fb42e8bebc6337c872bb2760d
3a60fb80027773df7bfa673c32236302
370cb51065e9a350aaafc5390f335b71
f4c5dae90d1182ef74aee835f6548a1d
f87f23ce31b4d8c7f431db1ab0ba6b43
d377627faf02a37956a0ea03b4b67e7a
eba5f333a54798bb3ea5a399daaa4ee5
68e0758a25895f43e4c5ea3a8fcecb8b
a0177c25d8e1dd1ae02b872bfd69a28c
ff187f97fe22eefd7e8d5f2cec1979f3
4f48b741435a53c5e5f5ed5fda19bae2
acc7a4aa2dc0690ab281f466dc77fc2d
337f4c588f817155b7c909ef946d6993
0472750d82cc817989ee89b4f3327bdf
c491a2334752a52946dc3e9f3a5e16d8
1ba6196d188b0307c76e9ebe5c270162
1206325cc700fc2efb1db0808fb043c4
7172b5b8de0021f9702ea8ee9db5401a
a826d8e86f0f38dc89bb6b8d8ff8bcdb
17ee272a32fcbf5ad5108b4bc1d8deb0
29d9cbfe8900f76d588cfd748c795a9e
8f3344b7475793b0d8729a4689fc2ceb
c3aefb8d7986ec23d83ad3231943db87
57b77043e08a7eabf14c902cbb44e707
e18c92e7f4717cf236e4e871bd9d30d4
7e5ad9a9acb7ce44eaffd827c042025a
e4e2a88e5ee5007f1963315cf57c270f
369246c9bdebc8ca20793374f4745b40
82e34df33ace041be47351cc7912efa3
ec1b22fb6cbc51ba9a69baa1deb43347
5ededabc3e9c5fc75bab8a8bfbd1c7e8
e4a2f1bbfdd23f1ffd01c8ef334a1331
d20acb648eb4a32dba11decbdc28408b
2dea3152fb60290ee738d232608050a5
548b391999d0244ee75a6cade527127b
d285044af5518a7707468d950c48d7b5
c29f23d88d50b8c36acf519a35fd7802
9302c86608c3e65336475f1a095b4839
7988c7190b868f5b498e326c9628ce4b
dc8e5b218667ff17b48371726367f050
e33669e0041662daa0299128dfdd1492
c6393cbb013ae4dabe24b789ba712187
ece338cbf45be5e27e559ca79e27ed5e
ef3b7c4794a3e0e175a11166d43e14f1
9eba926758201e2294377d724973b1c8
88115d6730f9b9405b9180a1c16b51c8
89ba82c07a5d94222f7816063f021818
5370c084c32735e4cf83b81ebdd4b01a
9299c8b2bec1cc48682ec5b0231fae16
9ec2a75ddfc6dc2157495d074fac9c93
afa4d9c169865867b9034733c3d48f39
37d10ed8c610dcea67a9d3abee3daee3
9d87813b9a612dd430a440f6fab5632b
0fa8b1f49533d42edb27b5790a20e0ad
fd053cbcfd83d68a99cf303406ff0313
929d9eed9598bfabf1366b8262ee7897
651bb547e3acbd3a71ab1233cb754124
693bcfe642855b9a0cc2711aab33c1e3
bd24fe9e72118b7e40a6fa65a012fcd2
459095b05bd5fa6e8a76e6b8a104fad2
251d8478e7534f7139a6c552ce996ebe
40d08dd45ab2afc092f245e86435a626
81dd8c90f7f788bd12a1ac8c21970dc9
f2562b3f88c85b29e12b9ce4a7754092
4601c6395a1f247c5db1b8d4639864f1
9c93b459cbc14c0751458514f52014d5
abc8c7f101c322e74ff3a25f40ec4254
7bf9db641e90ac7c796f12c4b9153074
2da6d54c5831aa42f82f69d15b08d456
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1372.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1372.JPG" download="">Download Original (2.93MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1372.JPG" download="">Download Original (2.16MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1375.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1375.JPG" download="">Download Original (2.32MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1375.JPG" download="">Download Original (1.59MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1377.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1377.JPG" download="">Download Original (3.14MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1377.JPG" download="">Download Original (2.14MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1379.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1379.JPG" download="">Download Original (3.61MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1379.JPG" download="">Download Original (2.45MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1380.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1380.JPG" download="">Download Original (2.73MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1380.JPG" download="">Download Original (1.93MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1383.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1383.JPG" download="">Download Original (2.47MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1383.JPG" download="">Download Original (1.72MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1385.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1385.JPG" download="">Download Original (3.58MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1385.JPG" download="">Download Original (2.47MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1387.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1387.JPG" download="">Download Original (3.27MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1387.JPG" download="">Download Original (2.26MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1391.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1391.JPG" download="">Download Original (2.76MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1391.JPG" download="">Download Original (1.86MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1393.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1393.JPG" download="">Download Original (2.48MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1393.JPG" download="">Download Original (1.73MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1394.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1394.JPG" download="">Download Original (2.33MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1394.JPG" download="">Download Original (1.64MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1397.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1397.JPG" download="">Download Original (2.59MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1397.JPG" download="">Download Original (1.82MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1398.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1398.JPG" download="">Download Original (2.84MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1398.JPG" download="">Download Original (1.98MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1401.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1401.JPG" download="">Download Original (3.64MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1401.JPG" download="">Download Original (2.48MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
2 changes: 1 addition & 1 deletion images/21-07-23/thumbs/IMG_1402.JPG.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="row">
<div class="col">
<p><a class="btn btn-primary" href="../IMG_1402.JPG" download="">Download Original (3.57MB)</a></p>
<p><a class="btn btn-primary" href="../IMG_1402.JPG" download="">Download Original (2.44MB)</a></p>
</div>
</div>
</main> <!-- // main container -->
Expand Down
Loading

0 comments on commit b16aa47

Please sign in to comment.