Safari blocks SameSite=Lax cookies on <img> subresource requests, causing 401 errors when loading Immich thumbnails and originals. Replaced the token-based <img src> approach with direct fetch() using credentials: 'include', which reliably sends cookies across all browsers. Images are now loaded as blobs with ObjectURLs. Added a concurrency limiter (max 6 parallel fetches) to prevent ERR_INSUFFICIENT_RESOURCES when many photos load simultaneously. Queue is cleared when the photo picker closes so gallery images load immediately. |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| hooks | ||
| i18n | ||
| pages | ||
| services | ||
| store | ||
| utils | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||