feat(gallery): add new screenshots, increase image resolution,

This commit is contained in:
Ivan R. 2024-02-23 18:35:10 +05:00
parent 0e538845f1
commit 1c238a143b
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
33 changed files with 5 additions and 2 deletions

View file

@ -64,7 +64,7 @@ def convert_images(src, dest):
if exists(dest_file):
continue
cmd = ['convert', entry, '-resize', '800x', '-quality', '80', dest_file]
cmd = ['convert', entry, '-resize', '1200x', '-quality', '80', dest_file]
print(' '.join(cmd))
subprocess.run(cmd)
else:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -62,7 +62,7 @@ const rowCount = Math.round(images.length/3)
#fullscreenImage {
width: 100%;
max-width: 800px;
max-width: 1200px;
display: block;
object-fit: cover;
}

View file

@ -13,6 +13,9 @@ import Gallery from '../components/Gallery.astro'
{src: "/cinema/scott-pilgrim-takes-off/1.avif", alt: "Scott Pilgrim Takes Off"},
{src: "/cinema/angels-egg/1.avif", alt: "Angel's egg"},
{src: "/cinema/spider-man-across-the-spider-verse/1.avif", alt: "Spider-Man: Across the Spider-Verse"},
{src: "/cinema/2001-a-space-odyssey/1.avif", alt: "2001: A Space Odyssey"},
{src: "/cinema/2001-a-space-odyssey/2.avif", alt: "2001: A Space Odyssey"},
{src: "/cinema/2001-a-space-odyssey/3.avif", alt: "2001: A Space Odyssey"},
{src: "/cinema/yokohama-kaidashi-kikou/1.avif", alt: "Yokohama Kaidashi Kikou"},
{src: "/cinema/yokohama-kaidashi-kikou/2.avif", alt: "Yokohama Kaidashi Kikou"},
{src: "/cinema/yokohama-kaidashi-kikou/3.avif", alt: "Yokohama Kaidashi Kikou"},