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

Support for image metadata #233

Open
pegler opened this issue Jun 9, 2020 · 1 comment
Open

Support for image metadata #233

pegler opened this issue Jun 9, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request up for grabs Feel free to pick this up in a PR!

Comments

@pegler
Copy link
Contributor

pegler commented Jun 9, 2020

Is your feature request related to a problem? Please describe.
Services like Unsplash require the image be attributed to the photographer. There doesn't seem to be any way to pass additional metadata about the selected image from the service to the uploader.

Describe the solution you'd like
It would be great if services could pass a metadata object along with the file blob into the next() call. I don't personally have a need for effects to be able to read or modify the metadata, but passing the metadata into effects may make sense. Finally the metadata would need to be passed into the uploader so it can be sent to the server.

Describe alternatives you've considered
I tried setting custom attributes on the file blob, but because the file is manipulated by effects as well as run through safeBlobToFile, blobToUpploadFile, and safeUpploadFileToFile, those attributes get lost.

@AnandChowdhary AnandChowdhary self-assigned this Jun 10, 2020
@AnandChowdhary AnandChowdhary added enhancement New feature or request up for grabs Feel free to pick this up in a PR! labels Jun 10, 2020
@phlegx
Copy link

phlegx commented Aug 11, 2021

@pegler did you found a solution? I have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request up for grabs Feel free to pick this up in a PR!
Development

No branches or pull requests

3 participants