gtsteffaniak / filebrowser

📂 Web File Browser
Apache License 2.0
19 stars 1 forks source link

Preview for raw images #215

Open feklee opened 1 month ago

feklee commented 1 month ago

Is your feature request related to a problem? Please describe. I would like to preview raw images from within the file browser. That is a feature that miss from the Dropbox client, which I used before, when my data was still in Dropbox.

Describe the solution you'd like Ideally, there is a way for users to script custom preview generation and hook that into the file browser. Preview images in JPEG format are generally embedded in raw files and can be extracted using Exiftool. This is a fairly fast process. Notably, the raw images don't need to be developed to get just a preview image.

With a general purpose solution for custom previews, one can eventually also add preview images for other file formats, such as for example 2D and 3D vector formats.

Describe alternatives you've considered If there is a rough guide, I can code it myself. (need to learn a bit of Go, but that's OK)

gtsteffaniak commented 1 month ago

I'm glad you brought this up, a better range of filetypes that can have previews is something that could be relatively simple to add.

The approach needs to have a balance of complexity and usefulness. There are some goals for this project (the "Quantum" fork of filebrowser):

  1. Add these features that are missing from the original.
  2. Make these changes in a way that preserves simplicity and minimalism.

For example, there is a PR to add open office support on the original filebrowser, which adds another layer of complexity that I do not want to include in this version for several reasons.

However, file previews are very much needed for more than just images. I bet raw and vector preview support would be simple to add and I can look at doing that soon.

feklee commented 1 month ago

Thank you for the explanation!