PanoViewer PlugIn PanoViewer PlugIn
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

PanoViewer PlugIn

Started by Gianpaolo64, October 18, 2007, 11:32:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gianpaolo64

I wrote a simple plugin to display panoramic images in the intermediate page of my photo gallery, maybe it can be useful for others. Here is a demo: http://www.bottin.com/cpg/displayimage.php?album=27&pos=1

It needs the pure player java applet, a free panoramic images viewer

Installation:
1.Copy PanoViewer folder to your plugins folder
2.Use plugin manager to install it
3.Download Pure Player for Java from http://www.immervision.com/en/multimedia/multimedia_download.php
4.Copy PurePlayer.jar to the PanoViewer folder

Usage:
Upload your images and ivp files to your gallery, when the plugin detects a jpeg
image with an associated ivp file (same file name but different file extension)
it will insert the pure player in the page for the intermediate image

Gianpaolo

just_some_guy

Looks Fantastic! Good Work!
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Hein Traag

A very nice plugin. Looks very good inside cpg.

Davide Renda

Very nice work.
I would nevertheless focus your attention on the end user license of Pure Player. I've been reading through it and, point 3.1.2 states: "the Software is used from your client's website in order for a third party to play directly from a web page the multimedia content you have created. By using the software on his website, your client must accept all terms of this EULA". On following point 3.2 "You may not alter, merge, modify, adapt or translate the Software, or decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human-perceivable form." and at 3.6 "You may not use the Software in conjunction or linked in any way with but not limited to, other software, HTML code and/or Java scripts, to automate creation and edition of panoramic content for the use and benefits of third parties.".
I am probably simply paranoiac, but these points do not leave me quite happy using it.

Joachim Müller

Lontano is right. Gianpaolo, you better try getting written consent of the author of component in question that it's OK to bundle it with your app.

Gianpaolo64

I am aware of the Pure Player license, if I understood it correctly they just wish to limit the use of the player to display panoramic images on a web site. Anyway I just sent an email to Immervision, I will let you know their answer.
Gianpaolo


rubenix

i may look stupid here but need to ask how to create the ivp files in order to make this plug work?? thanks

Gianpaolo64

Quote from: rubenix on November 06, 2007, 07:08:16 PM
i may look stupid here but need to ask how to create the ivp files in order to make this plug work?? thanks

Pure player can play packaged IVP files or plain jpg files with a coupled ivp file that contains all the needed parameters. Packaged ivp files can only be prepared with Pure tools. IVP files with parameteres are Xml files so they can be prepared by hand with a text editor.
You can find the documentation of xml ivp files and some samples here: http://www.immervision.com/en/multimedia/multimedia_download.php (PURE Player for Java Documentation 1.02)

Gianpaolo

Gianpaolo64

Quote from: GauGau on October 19, 2007, 11:44:18 AM
Lontano is right. Gianpaolo, you better try getting written consent of the author of component in question that it's OK to bundle it with your app.

Here is the answer from Immervision:

Quote
Thank-you for contacting us with your concern.

If your plugin makes calls to PURE Player only to display panoramas to be
viewed and PURE Player has been downloaded by the owner of the web site, you
are not infringing the PURE Player for Java EULA.

Gianpaolo

bigarte

Thanks for the update mate.  Looks like a nice plugin. Thanks for sharing. :)

Halfhidden

Not sure if this topic has been abandoned or not... but here goes.
I've completed the instructions above and changed the file extensions in the config to allow ivp file extensions but on upload I get Forbidden file extension.
Obviously, I've missed something here. Anyone able to help.

Halfhidden

To update those who have read my post above. I used Nibblers filetype plugin to correct the problem uplaoding ivp files.

Halfhidden

I experienced some problems getting the end result. So I thought I would share with you where I went wrong and how it was resolved in the hope that this will help others to use this fantastic plugin.

I completed the instruction above and then purchased a version of Pure Tolls (starter Kit). This is necessary to create the ivp files. Creating the file is easy enough, but for this to work with the plugin you must save the image as a packed ivp. The ivp file and the original jpg must have exactly the same file name (ie file1.jpg and file1.ivp)

My second mistake was uploading the file. I thought that this would be through the upload manager. No this has to be uploaded via batch uploads. You must upload the ivp and the jpg file via ftp, to the same folder and then go to the batch file manager. Choose the folder you uploaded the ivp and jpg files to and choose the jpg file tick box only (unpick the box next to the ivp file).
That's it! the file will run once clicked on.
Be aware of file sizes though, I found that files that are too big tend to crash the player at start up.
Special thanks to Gianpaolo64 for helping me. ;D

Also there is no need to use the file type plugin for this.

claude258

I completed the instruction from Halfhidden above but I get a red X instead of the panorama.
http://claudebriere.net/coppermine/displayimage.php?album=75&pos=0

The ivp file and the original jpg have exactly the same file name (ie file1.jpg and file1.ivp).

Uploads were done via ftp, to the same folder. In FTP Manager I was not able to add the IVP file. Is that a filetype problem? I used the FileType Plugin to add ivp files but not sure if I got it right (MIME type =??, content type =??, associated player = ??).


Halfhidden

Two things.
1 you have java.io.IOException: open HTTP connection failed:http://claudebriere.net/coppermine/PurePlayer.class
so your pure player applet is corrupt and this is probably because of the way the file is handled through Coppermine.

2 Probably the reason why you have this error is because you did what I said not to do. DO NOT use Nibblers file type plugin or you'll likely get errors.

What ever you've don't so far scrap. and do the following.
un Install Nibblers file type plugin unless you have any other reason to use it.... before you do remove the plugin remove the IVP settings file you added with the tool.
You've already made your IVP's and Jpgs with the same names. Now upload both IVP's and jpgs to a folder on your server in the Coppermine>albums folder. You must use an ftp program to do this DO NOT use batch uploads or try to use any uploads other than ftp
Next go to admin and choose batch uploads and browse to the folder you uploaded with the ivp's and jps in. ONLY choose the jpg's DO NOT choose the ivp files (Coppermine Cannot handle this kind of file). That's it. The player will automatically know that when the jpg is called from Coppermine to replace the full size image with the IVP. But this will only happen if files have unique names, reside in the same folder (all ivp's and jpg's must be in the same folder) and the client has Java enabled on their computer.

This player needs no special MIME additions to operate fully.
Hope this helps ;D

claude258

Hello,

Thanks for your help!
I still have some problems...

I reinstalled the plugin.
I did what you said in 2.
I redownload the PurePlayer.jar from Immervision (zip file attachedf you want to check it) and copied PurePlayer.jar to the folder PanoViewer.
The JPG and IVP files were uploaded to the same album folder and only the JPG was added to an album via Coppermine FTP Manager.

Here is the link to the picture via Coppermine:
http://claudebriere.net/coppermine/displayimage.php?album=84&pos=31

Direct link:
http://claudebriere.net/coppermine/albums/nouvellesphotos56/panolun.jpg

Here are the locations of the files:
.../coppermine/albums/nouvellesphotos56/panolun.ivp
.../coppermine/albums/nouvellesphotos56/panolun.jpg
.../coppermine/plugins/PanoViewer/PurePlayer.jar
.../coppermine/plugins/PanoViewer/configuration.php
.../coppermine/plugins/PanoViewer/codebase.php

Is there something wrong? Am I missing something? I am confused....

Thanks
Claude