Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to download the original file #25

Closed
asmaps opened this issue Mar 20, 2022 · 7 comments
Closed

Option to download the original file #25

asmaps opened this issue Mar 20, 2022 · 7 comments

Comments

@asmaps
Copy link

asmaps commented Mar 20, 2022

How complicated would it be to implement a function to download the original image? If you can give me a quickstart and point me to a good entrypoint file I could also try implementing it as a PR.

PS: Thanks for this awesome project, by far the best image gallery I found (and I tried them all)

@xemle
Copy link
Owner

xemle commented Mar 20, 2022

How complicated would it be to implement a function to download the original image? If you can give me a quickstart and point me to a good entrypoint file I could also try implementing it as a PR.

There is a similar feature requrest in #19. The idea is to implement an option to symlink or copy original files to the storage directory. This will be done in the extractor.

PRs are welcome. Some implementation hints are:

  • Add an option to the CLI package for the extractor
  • Implement an pipeline task in the extractor which consumes this option. See vibrant.js as example
  • I recommend to have a dedicated storage suffix original with original file extension
  • Adapt the database to add the original file to the database
  • Implement a download link in the webapp in the details view, if the original file is available. This file will have cryptic filename on static servers
  • Optional implement a middleware in the server to overwrite the original filename for the cryptic filename

You can also PM me for details

PS: Thanks for this awesome project, by far the best image gallery I found (and I tried them all)

Thank you very much for your flowers.

For curiosity: What usecase/problem do you solve with HomeGallery?

@asmaps
Copy link
Author

asmaps commented Mar 20, 2022

How complicated would it be to implement a function to download the original image? If you can give me a quickstart and point me to a good entrypoint file I could also try implementing it as a PR.

There is a similar feature requrest in #19. The idea is to implement an option to symlink or copy original files to the storage directory. This will be done in the extractor.

PRs are welcome. Some implementation hints are:

  • Add an option to the CLI package for the extractor
  • Implement an pipeline task in the extractor which consumes this option. See vibrant.js as example
  • I recommend to have a dedicated storage suffix original with original file extension
  • Adapt the database to add the original file to the database
  • Implement a download link in the webapp in the details view, if the original file is available. This file will have cryptic filename on static servers
  • Optional implement a middleware in the server to overwrite the original filename for the cryptic filename

You can also PM me for details

I will look into it as soon as I have time. Will let you know.

PS: Thanks for this awesome project, by far the best image gallery I found (and I tried them all)

Thank you very much for your flowers.

For curiosity: What usecase/problem do you solve with HomeGallery?

Hosting the private photo/video collection of 2 people. The phones sync their images to nextcloud, rclone pulls them on the local disk and homegallery then displays them nicely. The 2 collections are separated in 2 directories/homegallery instances/domains.
I wanted to migrate away from Google Photos to something selfhosted for a while, but all galleries had major drawbacks. E.g:

  • slow (nextcloud integrated gallery)
  • wrong usecase intention (e.g. main use to build an online gallery for your website)
  • bad/no search or filtering
  • no possibility to quickly get a photo from a point in time (usecase: you look for something and know roughly when you took the picture)

@xemle
Copy link
Owner

xemle commented Mar 20, 2022

For curiosity: What usecase/problem do you solve with HomeGallery?

Hosting the private photo/video collection of 2 people. The phones sync their images to nextcloud, rclone pulls them on the local disk and homegallery then displays them nicely. The 2 collections are separated in 2 directories/homegallery instances/domains. I wanted to migrate away from Google Photos to something selfhosted for a while, but all galleries had major drawbacks. E.g:

  • slow (nextcloud integrated gallery)
  • wrong usecase intention (e.g. main use to build an online gallery for your website)
  • bad/no search or filtering
  • no possibility to quickly get a photo from a point in time (usecase: you look for something and know roughly when you took the picture)

Thank you for your insights.

Hope you are happy with HomeGallery ;-)

@darrepac
Copy link

Sounds to me a must to , after viewing a preview version, be able to get the full resolution image.
1st to see it better by getting the full resolution
2nd to be able to share it to someone...

I look for a photo, found it, look at it with some friends... "Send it to me"...I can't currently, or just the HD version.

@EsEnZeT
Copy link

EsEnZeT commented Apr 28, 2023

Sadly, not being to obtain original file seems like showstopper to me.

@xemle
Copy link
Owner

xemle commented Apr 29, 2023

not being to obtain original file seems like showstopper to me.

Thank you @EsEnZeT for your honest feedback. I can not tell when this feature will come. Please subscribe to this project to receive any updates on this.

Further do not hesitate to try other OSS like photoprism, photoview, photostructure (no OSS) or any other Google Photos alternative from selfhosted photo and video galleries and enjoy your memories

@xemle
Copy link
Owner

xemle commented Sep 30, 2023

Closing it due inactivity. Please do not hesitate to reopen it if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants