title: Upload image from phone with orientation
body: <p>When I upload image with my phone to my website, it save and display it in landscape mode(bigger width), even if I take the picture in portrait mode(bigger height). But when I upload it from my PC all works well. Have you heard of this problem, and any solutions to solve it?</p>
  
  <p>PS.I don't think I need to add the code, because its just a simple adding image to the folder.</p>
  
  <p>This is how I save the image in the folder:</p>
  
  <pre><code>move_uploaded_file($name,"../../main/".$user."/Post/".$path);
  </code></pre>