fix: improve image proxy compatibility with CORS headers and Content-Type fallbacks to resolve broken lightbox images
This commit is contained in:
@@ -175,6 +175,7 @@ export function Lightbox({ assets, currentIndex, onClose, onNext, onPrev }: Ligh
|
||||
src={current.previewUrl}
|
||||
alt=""
|
||||
draggable={false}
|
||||
crossOrigin="anonymous"
|
||||
onLoad={() => setImageLoaded(true)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user