Option to download original, full-res images #21
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I implemented an option to make the original image files downloadable at full resolution:
I created this to be able to distribute photos I took at a family event to all the participants. This way everyone could easily choose the photos they liked and download them at original quality, which saved me from having to transfer large files to individuals one by one.
This feature might also appeal to professional photographers looking to host their own delivery platform so they don't have to rely on paid services like Pixieset.
The feature is off by default and can be enabled by setting the
ALLOW_ORIGINAL_DOWNLOAD
environment variable to1
. In the gallery view, a download button will show up in the bottom right corner of a hovered image. In single-photo view, the download button is permanently visible in the top right corner.Maybe this is outside the scope of this project (in which case, I don't mind if it doesn't get merged), but I thought that others might find this useful too.