Skip to content

Media preview mode generates thumbnails for entire folder #1878

Closed

Description

@lukas-schier

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

In the media preview mode, OpenCloud generates and loads thumbnails for all photos in the folder/sidebar, even if they are not currently visible to the user.

Reproduction Steps

  1. Open a folder containing a large number of images.
  2. Click on any image to open photo preview mode.
  3. Observe (in browser dev tools) that thumbnails for all images in the folder are generated/loaded.

Expected Outcome

In the standard folder view, only thumbnails for currently visible items are generated, which conserves CPU and memory. I would expect the same behavior in photo preview mode. Only thumbnails for photos currently visible in the viewport should be generated or loaded.

Actual Outcome

Photo preview mode triggers thumbnail generation/loading for the entire folder instead of only the images currently visible to the user.
Generating all thumbnails at once can lead to high memory and CPU usage, especially for folders with a large number of images.

Activity

  1. JammingBen commented on Jan 27, 2026

    @JammingBen
    Member

    We already have an issue for that: #1760, hence I'm closing here.

    The issue will be tackled within the current sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions