Skip to content

Commit 52696e0

Browse files
committed
Thumbnail fix
1 parent d71158d commit 52696e0

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

store-item.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ <h2>More patches</h2>
250250
"item-description",
251251
).textContent = item.Description;
252252
document.getElementById("item-thumb").src =
253-
"thumbnails/webp/" + item.StoreThumb;
253+
"thumbnails/webp/" + item.StoreThumb + ".webp";
254254
document.getElementById("item-thumb").alt = item.Title;
255255

256256
let downloadButton =
@@ -302,7 +302,8 @@ <h2>More patches</h2>
302302

303303
// Add thumbnail
304304
const thumb = document.createElement("img");
305-
thumb.src = "thumbnails/webp/" + patch.StoreThumb;
305+
thumb.src =
306+
"thumbnails/webp/" + patch.StoreThumb + ".webp";
306307
thumb.alt = patch.Title;
307308
tile.appendChild(thumb);
308309

store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fetch("store.json")
3131

3232
// Add thumbnail
3333
const thumb = document.createElement("img");
34-
thumb.src = "thumbnails/webp/" + patch.StoreThumb;
34+
thumb.src = "thumbnails/webp/" + patch.StoreThumb + ".webp";
3535
thumb.alt = patch.Title;
3636
tile.appendChild(thumb);
3737

store.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Download": "https://ewanbristow.gumroad.com/l/freakytable",
88
"Description": "Converts harmonics from an audio file into a filter shape",
99
"Price": "Free",
10-
"StoreThumb": "eb-freakytable.png"
10+
"StoreThumb": "eb-freakytable"
1111
},
1212
{
1313
"Title": "Florah(LITE)",
@@ -16,7 +16,7 @@
1616
"Download": "https://ewanbristow.gumroad.com/l/FlorahLITE",
1717
"Description": "Spectral multi-band compressor and resonance filter (free)",
1818
"Price": "Free",
19-
"StoreThumb": "florah-lite.png"
19+
"StoreThumb": "florah-lite"
2020
},
2121
{
2222
"Title": "Florah",
@@ -25,7 +25,7 @@
2525
"Download": "https://ewanbristow.gumroad.com/l/Florah",
2626
"Description": "Spectral multi-band compressor and resonance filter",
2727
"Price": "£9.99",
28-
"StoreThumb": "florah.png"
28+
"StoreThumb": "florah"
2929
},
3030
{
3131
"Title": "EB-Blasphemy",
@@ -34,7 +34,7 @@
3434
"Download": "https://ewanbristow.gumroad.com/l/Blasphemy",
3535
"Description": "Drumbreak sampler effects",
3636
"Price": "Free",
37-
"StoreThumb": "eb-blasphemy.png"
37+
"StoreThumb": "eb-blasphemy"
3838
},
3939
{
4040
"Title": "EB-Morph",
@@ -43,7 +43,7 @@
4343
"Download": "https://ewanbristow.gumroad.com/l/rrsdkv",
4444
"Description": "Cepstral morphing effect",
4545
"Price": "Free",
46-
"StoreThumb": "eb-morph.png"
46+
"StoreThumb": "eb-morph"
4747
},
4848
{
4949
"Title": "EB-SpectralSquish",
@@ -52,7 +52,7 @@
5252
"Download": "https://ewanbristow.gumroad.com/l/SpectralSquish",
5353
"Description": "Spectral squishing filter",
5454
"Price": "Free",
55-
"StoreThumb": "eb-spectralsquish.png"
55+
"StoreThumb": "eb-spectralsquish"
5656
},
5757
{
5858
"Title": "EB-Resonator",
@@ -61,7 +61,7 @@
6161
"Download": "https://ewanbristow.gumroad.com/l/EBResonator",
6262
"Description": "Spectral resonator effect",
6363
"Price": "Free",
64-
"StoreThumb": "eb-resonator.png"
64+
"StoreThumb": "eb-resonator"
6565
},
6666
{
6767
"Title": "EB-DynamicAllPass",
@@ -70,7 +70,7 @@
7070
"Download": "https://ewanbristow.gumroad.com/l/EB-DynamicAllPass",
7171
"Description": "Dynamic all-pass filter effect",
7272
"Price": "£5",
73-
"StoreThumb": "eb-dynamicallpass.png"
73+
"StoreThumb": "eb-dynamicallpass"
7474
},
7575
{
7676
"Title": "ChameleonX",
@@ -79,7 +79,7 @@
7979
"Download": "https://ewanbristow.gumroad.com/l/chameleonxbeta",
8080
"Description": "Colour bass resynthesis powerhouse",
8181
"Price": "$15",
82-
"StoreThumb": "chameleon-x.png"
82+
"StoreThumb": "chameleon-x"
8383
},
8484
{
8585
"Title": "N-SUB",
@@ -88,7 +88,7 @@
8888
"Download": "https://www.patreon.com/posts/n-sub-plugdata-115682326",
8989
"Description": "Sub-bass enhancer for low-end frequencies.",
9090
"Price": "Free",
91-
"StoreThumb": "nasko.png"
91+
"StoreThumb": "nasko"
9292
},
9393
{
9494
"Title": "N-SPEC GATE",
@@ -97,7 +97,7 @@
9797
"Download": "https://www.patreon.com/posts/n-spec-gate-fx-112905340",
9898
"Description": "Spectral gating for detailed audio control.",
9999
"Price": "Free",
100-
"StoreThumb": "nasko.png"
100+
"StoreThumb": "nasko"
101101
},
102102
{
103103
"Title": "N-PHASE SHIFT",
@@ -106,7 +106,7 @@
106106
"Download": "https://www.patreon.com/posts/n-phase-shift-fx-110714959",
107107
"Description": "Phase-shifting effects for creative design.",
108108
"Price": "Free",
109-
"StoreThumb": "nasko.png"
109+
"StoreThumb": "nasko"
110110
},
111111
{
112112
"Title": "N-SPEC COMP LITE",
@@ -115,16 +115,16 @@
115115
"Download": "https://www.patreon.com/posts/n-spec-comp-lite-110333394",
116116
"Description": "Lite version of the spectral compressor.",
117117
"Price": "Free",
118-
"StoreThumb": "spec.png"
118+
"StoreThumb": "spec"
119119
},
120120
{
121121
"Title": "N-SPEC CLIP",
122122
"Author": "Nasko",
123123
"Release date": "2024-06-04",
124124
"Download": "https://www.patreon.com/posts/n-spec-clip-fx-105527346",
125125
"Price": "Free",
126-
"StoreThumb": "nasko.png",
127-
"StoreScreenshot": "nspecclip.webp"
126+
"StoreThumb": "nasko",
127+
"StoreScreenshot": "nspecclip"
128128
},
129129
{
130130
"Title": "N-SPEC COMP",
@@ -133,7 +133,7 @@
133133
"Download": "https://www.patreon.com/posts/n-spec-comp-fx-103688179",
134134
"Description": "Full version of spectral compressor.",
135135
"Price": "Free",
136-
"StoreThumb": "nasko.png"
136+
"StoreThumb": "nasko"
137137
},
138138
{
139139
"Title": "N-SPECTRAL MASK",
@@ -142,7 +142,7 @@
142142
"Download": "https://www.patreon.com/posts/n-spectral-mask-100980671",
143143
"Description": "Spectral masking for advanced sound design.",
144144
"Price": "Free",
145-
"StoreThumb": "nasko.png"
145+
"StoreThumb": "nasko"
146146
},
147147
{
148148
"Title": "PureCLIP",
@@ -151,7 +151,7 @@
151151
"Download": "https://oruaudio.gumroad.com/l/pureclip",
152152
"Description": "Pure clipping for precise audio control.",
153153
"Price": "Free",
154-
"StoreThumb": "pureclip.png"
154+
"StoreThumb": "pureclip"
155155
},
156156
{
157157
"Title": "coarsedelay (free)",
@@ -160,7 +160,7 @@
160160
"Download": "https://payhip.com/b/UPhVE",
161161
"Description": "Post-apocalyptic sound design toolkit.",
162162
"Price": "Free",
163-
"StoreThumb": "coursedelay.avif"
163+
"StoreThumb": "coursedelay"
164164
},
165165
{
166166
"Title": "spectralsand2 (full edition)",
@@ -169,7 +169,7 @@
169169
"Download": "https://unfamiliartunes.gumroad.com/l/spectralsand",
170170
"Description": "Spectral delay and filter plugin",
171171
"Price": "$19.99",
172-
"StoreThumb": "spectralsand.png"
172+
"StoreThumb": "spectralsand"
173173
},
174174
{
175175
"Title": "spectralsand2 (mud edition)",
@@ -178,7 +178,7 @@
178178
"Download": "https://unfamiliartunes.gumroad.com/l/spectralsand",
179179
"Description": "Spectral delay and filter plugin",
180180
"Price": "Free",
181-
"StoreThumb": "spectralsand.png"
181+
"StoreThumb": "spectralsand"
182182
},
183183
{
184184
"Title": "coarsedelay (full)",
@@ -195,7 +195,7 @@
195195
"Release date": "2024-10-27",
196196
"Description": "Unique audio transformations with bit-morphing techniques.",
197197
"Price": "Free",
198-
"StoreThumb": "bmthumb.webp",
198+
"StoreThumb": "bmthumb",
199199
"Download": "https://lightningpig.gumroad.com/l/bitmorph"
200200
},
201201
{
@@ -205,7 +205,7 @@
205205
"Download": "https://ewanbristow.gumroad.com/l/spectraveil",
206206
"Description": "Spectral audio reshaper",
207207
"Price": "Free",
208-
"StoreThumb": "eb-spectraveil.png"
208+
"StoreThumb": "eb-spectraveil"
209209
},
210210
{
211211
"Title": "EB-SpectralGate",
@@ -214,7 +214,7 @@
214214
"Download": "https://ewanbristow.gumroad.com/l/SpectralGate",
215215
"Description": "Spectral gating effect",
216216
"Price": "Free",
217-
"StoreThumb": "eb-spectralgate.png"
217+
"StoreThumb": "eb-spectralgate"
218218
},
219219
{
220220
"Title": "N-SLoMo",
@@ -223,7 +223,7 @@
223223
"Download": "https://www.patreon.com/posts/n-slomo-plugdata-106385744",
224224
"Description": "Slow-motion audio effects for experimental sound.",
225225
"Price": "Free",
226-
"StoreThumb": "nasko.png"
226+
"StoreThumb": "nasko"
227227
}
228228
]
229229
}

0 commit comments

Comments
 (0)