After some heavy modifications, Panoramas are available under gallery. I had to modify the FAlbum plugin, which I am using in WordPress, in order to automatically identify whether the current image is a normal photo or a panorama. So now I just need only to upload panorama images to my flicker account with “Panorama” tag, modified FAlbum will take care of showing them using PTViewer.
Have a look here to see all the images tagged as panorama in my gallery.
Things I had to do to make this possible
- Modify .htaccess files with some mod_rewrite rules in order to fake PTViewer that images are from my domain.
- Code changes to detect images tagged with “Panorama”, and show them using PTViewer.
Now i need an ADSL connection to upload my images to flickr. I don’t want Mobitel 3.5G to charge me for my image uploads.
“I don’t want Mobitel 3.5G to charge me for my image uploads”
Hi
I’m trying the same PT Viewer in Drupal. Both files ptviewer.class and ptviewer.jar I placed in the files/images directory, together with the jpg file and .htm file. But no result. Can’t initialize java, is the message. What did you change in the .htaccess file?
If you have all above files in the same server you don’t have to do the tweaks I did. In my case I had jpgs in one server and the ptviewer in another. Due to java security model, PTViewer did not allow me to use images outside of my server. After these tweaks, ptviewer thinks that my panorama images are from the same server ptviewer is in.
In your case possibly you are giving the image locations incorrectly. Try giving the absolute URL too. (e.g. http://www.yourdomain.com/files/images/panorama.jpg)