Move 2022, 2023 art to new server and misc updates

This commit is contained in:
Joshua Goins 2024-02-12 19:24:56 -05:00
parent d9bb1020bb
commit dde0247c77
58 changed files with 85 additions and 152 deletions

View file

@ -1,10 +0,0 @@
{
"alt_text": "The words \"Dr. Frizzly's Mega Minigame Collection\" is written in 3D style font in many colors, sitting upon a maroon background with two characters to the side. One is Dr. Frizzly with a cat upon his head, and to the right is a unnamed girl looking at him.",
"characters": [
"Dr. Frizzly"
],
"date": "2023-01-15",
"description": "This is the banner I did for my game jam entry, The 3D Mario-style logo was surprisingly difficult!",
"program": "Krita, Blender",
"title": "Dr. Frizzly's Logo and Banner"
}

View file

@ -1,13 +0,0 @@
{
"alt_text": "Drawing of a blonde-haired catgirl, doing an A-Pose. She has a red crop top and dark leggings.",
"characters": [
"Sakura"
],
"date": "2023-07-01",
"mastodon_url": "https://mastodon.art/@redstrate/110646304883440696",
"program": "Krita",
"tags": [
"character sheet"
],
"title": "Sakura Character Sheet"
}

View file

@ -1,10 +0,0 @@
{
"alt_text": "A 3D model of Sakura, with her typical red tanktop and black leggings outfit.",
"date": "2023-09-11",
"program": "Blender",
"title": "Sakura Neo",
"tags": ["3D"],
"characters": [
"Sakura"
]
}

View file

@ -1,13 +0,0 @@
{
"alt_text": "Several drawings of the same woman, front, side and rendered versions along with a palette. She has dark hair, a short dress and long socks.",
"characters": [
"Mysterious Swordswoman"
],
"date": "2023-06-30",
"mastodon_url": "https://mastodon.art/@redstrate/110646304883440696",
"program": "Krita",
"tags": [
"character sheet"
],
"title": "Mysterious Swordswoman Character Sheet"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

View file

@ -1,12 +0,0 @@
---
title: "Dr. Frizzly's Logo and Banner"
date: 2023-01-15
layout: art-detail
filename: /art/itch-banner.webp
alt_text: "The words \"Dr. Frizzly's Mega Minigame Collection\" is written in 3D style font in many colors, sitting upon a maroon background with two characters to the side. One is Dr. Frizzly with a cat upon his head, and to the right is a unnamed girl looking at him."
slug: itch-banner
characters:
- Dr. Frizzly
program: Krita, Blender
---
This is the banner I did for my game jam entry, The 3D Mario-style logo was surprisingly difficult!

View file

@ -1,14 +0,0 @@
---
title: "Sakura Character Sheet"
date: 2023-07-01
layout: art-detail
filename: /art/sakura-sheet.webp
alt_text: "Drawing of a blonde-haired catgirl, doing an A-Pose. She has a red crop top and dark leggings."
slug: sakura-sheet
characters:
- Sakura
arttags:
- character sheet
mastodon_url: https://mastodon.art/@redstrate/110646304883440696
program: Krita
---

View file

@ -1,13 +0,0 @@
---
title: "Sakura Neo"
date: 2023-09-11
layout: art-detail
filename: /art/sakuraneo.webp
alt_text: "A 3D model of Sakura, with her typical red tanktop and black leggings outfit."
slug: sakuraneo
characters:
- Sakura
arttags:
- 3d
program: Blender
---

View file

@ -1,14 +0,0 @@
---
title: "Mysterious Swordswoman Character Sheet"
date: 2023-06-30
layout: art-detail
filename: /art/swordswoman-sheet.webp
alt_text: "Several drawings of the same woman, front, side and rendered versions along with a palette. She has dark hair, a short dress and long socks."
slug: swordswoman-sheet
characters:
- Mysterious Swordswoman
arttags:
- character sheet
mastodon_url: https://mastodon.art/@redstrate/110646304883440696
program: Krita
---

View file

@ -1,14 +1,14 @@
--- ---
title: Stats title: Stats
layout: art-stats layout: art-stats
total: 226 total: 222
years: years:
- year: 2019 - year: 2019
num: 60 num: 60
- year: 2022 - year: 2022
num: 47 num: 47
- year: 2023 - year: 2023
num: 40 num: 36
- year: 2020 - year: 2020
num: 29 num: 29
- year: 2021 - year: 2021
@ -23,32 +23,30 @@ years:
num: 1 num: 1
characters: characters:
- name: Mysterious Swordswoman - name: Mysterious Swordswoman
num: 16 num: 15
- name: Juritta - name: Juritta
num: 14 num: 14
- name: Merume - name: Merume
num: 10 num: 10
- name: Sakura
num: 7
- name: Asuka - name: Asuka
num: 6 num: 6
- name: Mari - name: Mari
num: 6 num: 6
- name: Sakura
num: 5
- name: Mythra - name: Mythra
num: 4 num: 4
- name: Dr. Frizzly
num: 3
- name: Tifa - name: Tifa
num: 3 num: 3
- name: Knocky-chan - name: Knocky-chan
num: 3 num: 3
- name: Byleth
num: 2
tags: tags:
- name: technical - name: technical
num: 1 num: 1
- name: comic - name: comic
num: 2 num: 2
- name: character sheet
num: 2
- name: animation - name: animation
num: 2 num: 2
- name: oil painting - name: oil painting
@ -62,7 +60,7 @@ tags:
- name: drawpile - name: drawpile
num: 10 num: 10
- name: 3d - name: 3d
num: 19 num: 18
- name: fan art - name: fan art
num: 51 num: 51
- name: sketch - name: sketch

View file

@ -6,6 +6,24 @@
{{ end }} {{ end }}
<hr> <hr>
{{ $month := 1 }}
{{ $year := 1 }}
{{ if .Params.date }}
{{ $split := split .Params.date "-" }}
{{ $year = int (index $split 0) }}
{{ $month = int (index $split 3) }}
{{ end }}
{{ if and (ge (int $year) 2023) (and (not $.Params.animation) (not $.Params.threed) ) }}
{{ $full := printf "https://images.redstrate.com/art/%s.avif" $.Params.slug }}
{{ $jpeg := printf "https://images.redstrate.com/art/%s.jpg" $.Params.slug }}
<picture>
<source srcset="{{ $full }}" type="image/avif"/>
<img class="gallery-img" style="display: block; max-height: 1000px; margin-left: auto; margin-right: auto; width: auto; margin-top: 10px; margin-bottom: 10px; max-width: 100%; height: auto" alt="{{ $.Params.alt_text }}" title="{{ $.Params.alt_text }}" src="{{ $jpeg }}"/>
</picture>
{{ else }}
{{ with resources.Get .Params.filename }} {{ with resources.Get .Params.filename }}
{{ if $.Params.threed }} {{ if $.Params.threed }}
{{ $cameraorbit := $.Params.orbit }} {{ $cameraorbit := $.Params.orbit }}
@ -24,6 +42,8 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }}
{{ partial "voting" . }} {{ partial "voting" . }}

View file

@ -8,30 +8,37 @@
{{ $base = "animation" }} {{ $base = "animation" }}
{{ end }} {{ end }}
{{ $full := resources.Get (printf "%s/%s.webp" $base .Params.slug) }}
{{ if $full }}
{{ $filename_without_ext := .Params.slug }}
{{ $month := 1 }} {{ $month := 1 }}
{{ $year := 1 }} {{ $year := 1 }}
{{ if .Params.date }} {{ if .Params.date }}
{{ $split := split .Params.date "-" }} {{ $split := split .Params.date "-" }}
{{ $month = index $split 0 }} {{ $year = int (index $split 0) }}
{{ $year = index $split 3 }} {{ $month = int (index $split 3) }}
{{ end }} {{ end }}
{{ $use_newformat := false }}
{{ if ge (int $year) 2023 }}
{{ $use_newformat = true }}
{{ end }}
{{ $full := "" }}
{{ $jpeg := "" }}
{{ if and $use_newformat (eq $base "art") }}
{{ $full = printf "https://images.redstrate.com/thumb/%s.avif" .Params.slug }}
{{ $jpeg = printf "https://images.redstrate.com/thumb/%s.jpg" .Params.slug }}
{{ else }}
{{ $full = resources.Get (printf "%s/%s.webp" $base .Params.slug) }}
{{ end }}
{{ if $full }}
{{ $filename_without_ext := .Params.slug }}
<a aria-label="Gallery Item" class="no-decoration grid-item" href="{{ .RelPermalink }}"> <a aria-label="Gallery Item" class="no-decoration grid-item" href="{{ .RelPermalink }}">
{{ $path := printf "/%s/%d/%.2d/%s" $base (int $year) (int $month) $filename_without_ext}}
{{ $title := .Params.title }} {{ $title := .Params.title }}
{{ $image := (resources.Get (printf "%s/%s.webp" $base .Params.slug)).Resize "400x webp q90 drawing" }}
{{ if .Params.nsfw }} {{ with $full }}
{{ $image = $image | images.Filter (images.GaussianBlur 6) (images.Pixelate 8) }}
{{ end }}
{{ with $image }}
{{ if $.Params.threed }} {{ if $.Params.threed }}
{{ with resources.Get "3d.png" }} {{ with resources.Get "3d.png" }}
<img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px; border: none" src="{{ .RelPermalink }}"> <img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px; border: none" src="{{ .RelPermalink }}">
@ -44,12 +51,19 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if and $use_newformat (eq $base "art") }}
<picture>
<source srcset="{{ $full }}" type="image/avif"/>
<img style="width: 100%; height: auto;" alt="{{ $title }}" title="{{ $title }}" src="{{ $jpeg }}"/>
</picture>
{{ else }}
<img style="width: 100%; height: auto;" width="{{ .Width }}" height="{{ .Height }}" alt="{{ $title }}" title="{{ $title }}" src="{{ .RelPermalink }}"> <img style="width: 100%; height: auto;" width="{{ .Width }}" height="{{ .Height }}" alt="{{ $title }}" title="{{ $title }}" src="{{ .RelPermalink }}">
{{ end }}
{{ else }} {{ else }}
<p>Thumbnail not found!</p> <p>Thumbnail not found!</p>
{{ end }} {{ end }}
</a> </a>
{{ else }} {{ else }}
<em>CANNOT FIND {{ .Params.slug }}</em> <em>CANNOT FIND {{ .Params.slug }} {{ $use_newformat }}</em>
{{ end }} {{ end }}