This is a migrated thread and some comments may be shown as answers.

losing image meta data using kendo upload widget

3 Answers 142 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 05 Aug 2014, 09:14 PM
I am having an issue with image orientation that I have a fix for but I relies on the metadata being in the image. When I view the image prior to upload it has an orientation of 6 but after uploading it, when its in the c# code on the server, it doesnt have this metadata available. 

Is there something that could be going on when the kendo upload widget does its thing that could remove it?

in my MVC controller I am just creating an Image from the HttpPostedFileBase InputStream and pass that to my FixRotation method. No real code doing anything.

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 06 Aug 2014, 02:38 PM
Hi Kevin,


Could you please elaborate how exactly was the metadata sent to the server? We recommend using the upload client side event.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Kevin
Top achievements
Rank 1
answered on 18 Aug 2014, 05:23 PM
I am not doing anything. The process as it exists with default settings is removing image EXIF data. In this case I need the orientation. The info is there before the upload but not after. 
0
T. Tsonev
Telerik team
answered on 19 Aug 2014, 08:36 AM
Hello,

The Upload most definitely doesn't modify the file data. This is not even possible in older browsers like IE 9 and earlier.
You can double check by inspecting the upload request in Fiddler for example.

Please, check if a proxy or a server module is not stripping the EXIF data.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
Kevin
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Kevin
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or