I have been facing this issue for the past 2 weeks, trying various JavaScript libraries like ThreeJS, but without any luck. Pannellum seems promising to me, especially in its support for partial panoramas with just one photo. My goal is to create a panorama player similar to the one found on Facebook. I have been struggling with uploading iPhone panorama photos that are not 360 degrees. If anyone could provide me with an example of how to create a partial panorama using Pannellum or Three.js, it would make me very happy and grateful.