1
0
Fork 0

Downscale banner images

This reduces a cold main page load from 2.8MB to 650kB.
This commit is contained in:
Xiretza 2025-01-22 15:37:11 +00:00 committed by dark_hash
parent 1f42116d0f
commit af9c5a3ef8
5 changed files with 16 additions and 4 deletions

View file

@ -14,13 +14,13 @@
width="2828.1599"
height="514.56"
preserveAspectRatio="none"
xlink:href="/images/banner_new_signal_off.jpg"
xlink:href="/images/banner_new_signal_off.opt.jpg"
id="image1" />
<image
width="2828.1599"
height="514.56"
preserveAspectRatio="none"
xlink:href="/images/banner_overlay_signal_red.png"
xlink:href="/images/banner_overlay_signal_red.opt.png"
id="signal-red"
x="0"
y="0"
@ -29,7 +29,7 @@
width="2828.1599"
height="514.56"
preserveAspectRatio="none"
xlink:href="/images/banner_overlay_signal_yellow.png"
xlink:href="/images/banner_overlay_signal_yellow.opt.png"
id="signal-yellow"
x="0"
y="0"
@ -38,7 +38,7 @@
width="2828.1599"
height="514.56"
preserveAspectRatio="none"
xlink:href="/images/banner_overlay_signal_green.png"
xlink:href="/images/banner_overlay_signal_green.opt.png"
id="signal-green"
x="0"
y="0"

Before

(image error) Size: 1.3 KiB

After

(image error) Size: 1.3 KiB

BIN
static/images/banner_new_signal_off.opt.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/images/banner_overlay_signal_green.opt.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/images/banner_overlay_signal_red.opt.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
static/images/banner_overlay_signal_yellow.opt.png (Stored with Git LFS) Normal file

Binary file not shown.