diff --git a/web/index.css b/web/index.css index 6953d5d..cc236e9 100644 --- a/web/index.css +++ b/web/index.css @@ -14,6 +14,7 @@ hr { margin-bottom: 1em; padding: 0.5em; width: 400px; + height: 272.5px; } [image] [foot] { max-width: 400px; diff --git a/web/index.html b/web/index.html index f59ccc1..7f60cf0 100644 --- a/web/index.html +++ b/web/index.html @@ -14,8 +14,9 @@

OFFIMG Gallery

Swissmicros Fourm. Created by Connor Slade, source code is on Github - here. + here. You can download a zip of all the images here. + Updates monthly.


diff --git a/web/index.js b/web/index.js index 11c0be4..65185ed 100644 --- a/web/index.js +++ b/web/index.js @@ -46,10 +46,10 @@ fetch(`${OFFIMG_PATH}/info.json`) if (i.alt) info.innerHTML += ` • ${i.alt}`; let download = document.createElement("a"); - download.href = `${OFFIMG_PATH}/${i.id}.bmp`; + download.href = `${OFFIMG_PATH}/${i.uuid}.bmp`; download.innerHTML = `⇓`; if (i.alt) download.download = `${i.alt}${i.alt.endsWith(".bmp") ? "" : ".bmp"}`; - else download.download = `${i.id}.bmp`; + else download.download = `${i.uuid}.bmp`; foot.appendChild(info); foot.appendChild(download); diff --git a/web/index.scss b/web/index.scss index 11ed119..7aa5deb 100644 --- a/web/index.scss +++ b/web/index.scss @@ -14,6 +14,7 @@ hr { margin-bottom: 1em; padding: 0.5em; width: 400px; + height: 272.5px; & [foot] { max-width: 400px;