Here's an easy way to rotate your photos:

     

  1.  On your computer, find the folder with the photos imported from your iPhone
  2.  Do a right-button-click on the image      
  3.  Select "Rotate right" (shown below)
  4.  Now upload your photos to your portal.