Don't use full size images in featured art

This commit is contained in:
Joshua Goins 2023-03-08 10:34:54 -05:00
parent 9ffec23db8
commit 9a0ab96087
8 changed files with 55 additions and 1 deletions

13
art/lifeform.eno Normal file
View file

@ -0,0 +1,13 @@
-- Alt Text
A girl with a television on her back, is surrounded in a dark room with
many other screens visible. Each screen is in a pile of wires, but also
have just one eye visible on the screen.
-- Alt Text
-- Description
Made on request!
-- Description

14
art/mystery-ham.eno Normal file
View file

@ -0,0 +1,14 @@
-- Alt Text
A long haired girl is holding a big, cartoon ham. Shes making eye contact with the viewer while doing so.
-- Alt Text
-- Description
i love big cartoony hams!
-- Description
Characters:
- Mysterious Swordswoman

15
art/pokewalk.eno Normal file
View file

@ -0,0 +1,15 @@
-- Alt Text
Two pokemon, Quaxsly and Mudkip are leaping over a grassy hill on a sunny day.
-- Alt Text
-- Description
Made on request!
-- Description
Characters:
- Mudkip
- Quaxly

11
art/recursive.eno Normal file
View file

@ -0,0 +1,11 @@
-- Alt Text
A recursive drawing of me drawing this drawing, which appears infinite. I'm holding an iPad with Procreate.
-- Alt Text
-- Description
Made on request!
-- Description

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -20,7 +20,8 @@
<a href="{{ $path }}" aria-label="Click to view details"> <a href="{{ $path }}" aria-label="Click to view details">
{{ $title := .title }} {{ $title := .title }}
{{ with resources.Get (printf "art/%s" .filename) }} {{ with resources.Get (printf "art/%s" .filename) }}
<img class="gallery-img featured-art" alt="{{ $title }}" width="{{ .Width }}" height="{{ .Height }}" src="{{ .Permalink }}"/> {{ $image := .Resize "500x" }}
<img class="gallery-img featured-art" alt="{{ $title }}" width="{{ $image.Width }}" height="{{ $image.Height }}" src="{{ $image.RelPermalink }}"/>
{{ else }} {{ else }}
<p>Thumbnail not found!</p> <p>Thumbnail not found!</p>
{{ end }} {{ end }}