another cols photos

This commit is contained in:
tree 2023-04-19 02:07:37 +02:00
rodič b2bc048a50
revize d1b2204bde
17 změnil soubory, kde provedl 6 přidání a 4 odebrání

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 112 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 16 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 10 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 24 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 8.1 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 59 KiB

binární
data/23/places/cubex/photo.op.webp Normal file

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 130 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 79 KiB

binární
data/23/places/jatka78/photo.op.webp Normal file

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 93 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 64 KiB

binární
data/23/places/metro/photo.op.webp Normal file

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 12 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 67 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 88 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 118 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 135 KiB

binární
data/23/places/x10/photo.op.webp Normal file

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 54 KiB

Zobrazit soubor

@ -11,10 +11,12 @@ if (Deno.args[0]) {
const ev = entry.data.events.find((e) => e.id === Deno.args[0]);
await ev.optimizeImages();
} else {
for (const event of entry.data.events) {
if (event.data.index.hidden) {
continue;
for (const type of ["events", "places", "benefits", "media-partners"]) {
for (const item of entry.data[type]) {
if (item.data.index.hidden) {
continue;
}
await item.optimizeImages();
}
await event.optimizeImages();
}
}