add: support for scraping more image links

This commit is contained in:
2025-11-25 20:24:59 +01:00
parent ddf430bbb7
commit 6a927d4045
3 changed files with 106 additions and 15 deletions

View File

@@ -66,9 +66,10 @@
<div class="flex flex-col md:flex-row gap-4 flex-1">
{#if showImage && item.imageUrl}
<img
src={item.imageUrl}
src="/api/image-proxy?url={encodeURIComponent(item.imageUrl)}"
alt={item.title}
class="w-full md:w-32 h-32 object-cover rounded-lg"
onerror={(e) => e.currentTarget.src = item.imageUrl}
/>
{/if}