Can you paste the html generated by pw4?
Look in the html generated for something like this
<PARAM NAME=file value="LOOK HERE for pic name.jpg">
Panoweaver 4.0 outputs the same as Tourweaver it does not use PTViewer but rather Easypano's own viewer.
Here is the sample applet html code
codebase = "."
archive = "twviewer.jar"
code = "com.easypano.tw.TWViewer.class"
name = "TWViewer"
width = "640"
height = "480"
hspace = "0"
vspace = "0"
mayscript = "true"
<PARAM name = iniFile value = "Config.tx1">
<PARAM name = skin.bgcolor value = "255, 255, 255">
<PARAM name = skin.waitingimg value = "Skin/waiting.gif">
<PARAM name = skin.archive value = "Skin_pano1.zip">
<PARAM name = skin.archive.itemnum value = "27">
<PARAM name = progress.color value = "58, 110, 165">
<PARAM name = progress.bounds value = "160, 360, 320, 20">
<PARAM name = comappletname value = "UserApplet1">
The outputted files consist of the following:
Tourweaver is designed to be the software for linking and making the tour. That said, there is no reason why you couldn't just make multiple .html pages with different panoramas and link them via hyperlinks. You could quite easily make a template main page and have the viewer display via an iframe.
If you want to keep it simple:
Stitch your panorama and save the result to a jpg file as usual.
Open your html editor and make a new blank page.
Insert the following code into the body of this page, between <body> and </body>:
<APPLET archive = "ptviewer.jar" code = "ptviewer.class" width = 300 height = 250>
<PARAM name = file value = mypano.jpg>
<PARAM name = auto value = 0.2>
<PARAM name = fov value = 80>
Replace mypano.jpg by the name of your own pano. Change width and height to the values you prefer, change auto (autorotation) to your prefered value and also fov (field of view).
Save this HTML page in a folder together with ptviewer.jar and your panorama file. If you click the html document, the pano will be shown in your webbrowser. If you present it at the web, the only files which will be downloaded by the visitor are: your jpg file (150 kB), your html file (2 kB), ptViewer.jar (28 kB).
If you want to send some examples to a customer: Use a software like "HTML Executable" to pack all files into one exe-file. This can be sent via eMail to your customer. When he doubleclicks the file, it will be automatically unpacked into a temporary folder (he will not notice this), and your pano will be shown in his webbrowser.Holger Schulz, photoaround
Try this code if you like.
<p><a title="#" onClick="window=window.open('http://www.urlwheretouris.com/tour.html','window','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=600,left=50,top=50'); return false;"><font color="#000000" size="3" face="Verdana, Arial, Helvetica, sans-serif">See tour</font></a></p>