-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 on jpeg images is lost before sending images to the server #974
Comments
I have the same problem |
Actually if you are resizing the image - the plugin uses HTML5 canvas to resize and the HTML5 canvas does not read or maintain exif data for the images.. and hence the resized image will not have this information. The exif data will be received on server if you set the plugin to work without image resize and you receive image on client AS-IS without client level modifications (or compression). Seems some enhancement needs to be done to auto orient these images via the canvas itself OR use an exif client plugin to embed exif data in modified image... before they are sent to the server. Waiting for any other suggestions to enhance. |
Hi there.
I setup HTML, CSS and JS on my static page and all is very cool! The problem occurs when I upload one or more jpeg images to the server.
After I catch the images server side with PHP I realize that the images are smaller (may be ok due to the client auto resize) and they lost all EXIF metadata, so I cannot rotate them, for example, based on their orientation on my server app.
The rotation works perfectly client side on the thumbnail so the image exif data is not a problem.
I think this is a feature request, but it could also be a bug.
I have this problem with mobile (android) or desktop (firefox or chrome on linux). I also tested it on Windows (firefox and ie11) with the same problem.
Is there a way to keep all (or just Orientation) EXIF data on jpeg images?
Thank you.
The text was updated successfully, but these errors were encountered: