Gimp will ask you if you want to auto rotate the orientation if the photo is sideways. Do your edit/crop/scale and remember to save the file. Open a command window (Terminal) Type 'sudo apt-get...