Googling I found on the net reference to sphere panoramas, but I'm not interested in looking up or down, just to the front. My image is a just rectangular, a very wide panorama and I wanted to create a view of it, as if one is inside a cylinder and the inside walls have the texture applied to it. If possible I wanted to publish it to the web.
Found a way to it with WebGL library threejs, demo here: http://nunocruz.me/panorama/ Feel free to view the source code of the page and use it if you want to do the same and if you have any questions about it just ask!
Stitch you panorama together using your favorite program then you can try this program (called Pano2VR) which is free to try (will watermark your image) and you can purchase it to remove the watermark.
The hardest part about this all might ensuring you take a seamless 360 panorama.
Update: If you have Photoshop after you stick together the image you can use Zoomify to export the file. File > Export > Zoomify. Does a great job.
Update 2: I happen to come across creating a Virtual Tour using jQuery. So here is the link for "jQuery Virtual Tour."