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

Exif data is getting lost #210

Open
vishal2947 opened this issue May 22, 2020 · 2 comments
Open

Exif data is getting lost #210

vishal2947 opened this issue May 22, 2020 · 2 comments
Assignees
Labels
bug Something isn't working up for grabs Feel free to pick this up in a PR!

Comments

@vishal2947
Copy link

vishal2947 commented May 22, 2020

Hi,

When I am uploading the rotated image from Uppload plugin, I am not able to read the EXIF data of the image at my PHP code. It seems like Uppload is stripping the EXIF data. I am mostly interested in "Orientation" data.

Is there any way to pass the EXIF data with the image so that some manipulation on the image can be performed at the server end?

Thanks.
Vishal K

@AnandChowdhary AnandChowdhary self-assigned this May 22, 2020
@AnandChowdhary AnandChowdhary added the bug Something isn't working label May 22, 2020
@AnandChowdhary
Copy link
Member

Thanks for opening this issue, @vishal2947! I'm certain that the process of editing an image etc. strips that metadata. This is because we're not uploading the original image, but a modified, new image. If you remove any effects and directly just use the Local plugin, the data should retain.

Perhaps we can optionally use https://github.com/exif-js/exif-js or other solutions to get all EXIF data and put it back in the image we're uploading. I'm open to thoughts from @AlexImb, @victorlap on this because I'm hesitant to add a dependency as large as exif-js, so maybe the native HTML5 File API can help us.

@vishal2947
Copy link
Author

Thanks for your response.

I just tested with only Local option, and it still stripped the data.

@AnandChowdhary AnandChowdhary added the up for grabs Feel free to pick this up in a PR! label Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working up for grabs Feel free to pick this up in a PR!
Development

No branches or pull requests

2 participants