add: support for scraping more image links
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user