I am working on a project where i need to upload photo to canvas but the problem is arising that when user uploading image from iphone, image is automatically getting rotated 90deg.
Is there any way i can check image's orientation using Javascript? and if i can rotate image if its orientation is not Normal(Horizontal)?
Thanks in Advance.