feath(ui): photo lib now using thumbnail library

This commit is contained in:
Edouard Vanbelle
2026-05-04 10:11:14 +02:00
parent 23336cc2bd
commit 1d2085457e
3 changed files with 78 additions and 137 deletions
+1 -1
View File
@@ -1339,7 +1339,7 @@ const ui = {
thumb.addEventListener('error', () => {
console.log(`thumbnail not found for "${file.name}", try to generate it...`);
thumb.classList.add('hidden');
thumbnail.generate(file, (dataUrl) => {
thumbnail.queueGenerate(file, (dataUrl) => {
thumb.src = dataUrl;
thumb.classList.remove('hidden');
});