Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Display previews #276

Closed
Closed

Description

@PVince81

Activity

  1. changed the title [-]File details improvement[/-] [+]Display previews[/+] on Sep 24, 2019
  2. added this to the backlog milestone on Sep 24, 2019
  3. DeepDiver1975 commented on Sep 24, 2019

    @DeepDiver1975
    Contributor
    • preview as thumbnail in the file list row

    I wonder if this are really hard requirements for the frontend.

    Cons:

    • small previews are almost impossible to view
    • heavy computation is required to create/deliver a lot of previews
    • personal opinion: they have never been usefull
  4. PVince81 commented on Sep 24, 2019

    @PVince81
    ContributorAuthor

    Previews would start to become interesting once we get to implement a grid view of files (like gallery). Indeed the previews are rather small and even for pictures it doesn't show much.

  5. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor

    The previews will be retrieved using the Webdav API like OC 10 has.

  6. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor
    • cannot send Bearer token through headers, so need to use fetch() API to retrieve the image data and then pack them into "data:" URLs
    • no cookies
    • not related to CORS

    => would require pre-signed URLs on OC 10 side

    So far the current logic is ok for images but would require the pre-signed URL approach for videos.

  7. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor
  8. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor

    to clarify, we already have an implementation that uses the preview endpoint in the media viewer app, and the approach above is what I described, see:

  9. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor

    similar topic happens for downloads: #526 (comment)

    for the scope of this sprint I suggest focusing only on bringing the same logic to the file list and its thumbnail retrieval.

    later on we can look into pre-signed URL as part of https://github.com/owncloud/enterprise/issues/3912

  10. self-assigned this
    on Mar 16, 2020
  11. PVince81 commented on Mar 16, 2020

    @PVince81
    ContributorAuthor

    updated top post with some findings

  12. butonic commented on Mar 30, 2020

    @butonic
    Contributor

    server side merged with owncloud/ocis#157

  13. PVince81 commented on Apr 14, 2020

    @PVince81
    ContributorAuthor

    PR for file previews in file list was merged: #3187

    next up is adding a preview on top of the sidebar and solving the further points

  14. removed their assignment
    on Sep 3, 2020
  15. pascalwengerter commented on May 28, 2021

    @pascalwengerter
    Contributor

    We're now able to display thumbnails and do so for certain file types in the files list/table. There's also discussions about having larger previews in the sidebar or on a grid view, but that's a different story.

    If further previews are needed please open a new ticket.

  16. phil-davis commented on Sep 7, 2021

    @phil-davis
    Contributor

    Note: the last entries in expected-failures linked to this issue are removed in PR #5787

  17. added a commit that references this issue on Mar 31, 2025
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

    Category:Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions