losing image meta data using kendo upload widget

4 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Jan 2014

    Posted 05 Aug 2014 Link to this post

    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.
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 06 Aug 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Kevin
    Kevin avatar
    2 posts
    Member since:
    Jan 2014

    Posted 18 Aug 2014 Link to this post

    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. 
  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 19 Aug 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready