Skip to content

Item detail page eagerly downloads full-resolution originals instead of thumbnails #1606

Description

@WangLeto

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

0.26.2

What is the issue you are experiencing?

The item detail page photo section downloads the full-resolution original image for every photo on page load, instead of the WebP thumbnail that HomeBox already generates. On a self-hosted instance with a constrained uplink this makes the detail page slow and wastes bandwidth.

The item list/grid page correctly uses thumbnails — only the detail page is affected.

How can the maintainer reproduce the issue?

Root cause

frontend/pages/item/[id]/index.vue renders each photo in the grid as:

<picture>
  <source :srcset="img.originalSrc" :type="img.originalType" />
  <img class="max-h-[200px] rounded" :src="img.thumbnailSrc" alt="attachment image" />
</picture>

### Deployment

Docker (Linux)

### Database Type

SQLite

### OS Architechture

x86_64 (AMD, Intel)

### Deployment Details

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷️ bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions