mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.3k stars 728 forks source link

Cannot seem to keep aspect ratio when zooming in or changing to fullscreen #1159

Open Macfelon opened 1 year ago

Macfelon commented 1 year ago

Hi, I was able to setup my view to have the correct aspect ratio on a large pano style image, and if I don't touch it, it looks fine, but if I go to Fullscreen or scroll out, it crushes the horizontal width and I have looked at many options on the project, but I don't see one that keeps it in step with the original sizing.

mpetroff commented 1 year ago

To isolate whether or not the issue is with your configuration, do you see similar issues with the pannellum.org examples?

If you don't see issues with the examples, do you have an example you can link to that shows this behavior, or at least screen shots?

Macfelon commented 1 year ago

I copied the setup from the demos and it was squished, so I modified until I got it to show initially after load the way I wanted.

It can be seen at https://travelingwithrob.com/hotels/testingPano.jsp The file is HUGE for testing, so it will take a bit load.

My key setup values are the following:

Githubissues.
  • Githubissues is a development platform for aggregating issues.