fetch From Camera
Displays the photo taken using the device camera in the proper orientation.
This method addresses the issue of most device cameras setting the orientation of a captured image to landscape. The code for rotation is a direct translation of the one found in https://www.py4u.net/discuss/611150.
Parameters
photoPath
Path to the photo to be rotated.