Here I show to create giga panos for web-view easy and (more or less) fast. I use Leaflet, which is a java script that can be easily added to any website.
My first panorama scene I did for the web shows the countrside of my hometown. YOu just have to walk for about 30 minutes to get to this wonderful place. The picture itself was intended as a "testshoot", so I didn't take care of the perfect framing or the best sharpness. I just wanted to have a nice base for the pano.
I held my camera in portrait without a tripod (it was at home). Then I took care that every shot overlaps the previous one with about 40%. That is really important for the post processing.
After a short retouch (brightness, contrast, sharpness) of all RAW-pictures I converted them into the jpg-format. Then I merged it with Photomerge. After that I did the color correction, but not much - I only smoothed the sharp blue tones and added a little bit of magenta.
Note: I found a better pano-merger than Photomerge. It's called ICE (Image Composite Editor) from Microsoft. It's free and really simple to use.
The last step, before we come to the script, is to "hack" the picture into tiles. The whole picture will be cut in different zoom-levels into single 256x256 pixel squares. Every zoom-level gets its own number, and the position of the pictures is given with X-Y-coordinates. Here's a small description:
Zoomlevel 0, the coordinates are X=0 und Y=0, so the file is called 0-0-0.jpg.
Zoomlevel 1, the cooridnates of picture 1 are X=0 und Y=0 and those of picture 2 are X=1 und Y=0, so they are called 1-0-0.jpg and 1-1-0.jpg.
Why do I do that? It would take way too long to load the whole image at once. So I only load the picture, that I need at the moment. If you look at it on fullscreen, you wouldn't see a (here) 15000x8000 pixel picture, but only one with about your screen resolution. To get more details, just zoom in and more pictures will be loaded.
On GitHub you can find the java script and a short examle-html-file.
In line 21 of the panorama.html file you set the link to the own js-file, which should be put into the js-folder on your webserver. In line 26 you give the link to the folder which contains the folders full of tiles.
Everything together should look like this: