Adding java applets (eg. 360° panoramas) and other media to albums

NOTE: I use Zenphoto 1.0.3 because my host has PHP safe mode turned on. I know v1.0.8.2beta supports safe_mode, but I'm waiting for a final release before I implement it. If any of the things I mentioned here have already been implemented in newer versions, please inform me!

I have an album that contains 360° panoramas (uses the ptviewer.jar java applet). I had to edit index.php in /themes/ and hard-code a link to a modified album after albums are automatically read from the mysql database. I had to do this otherwise an entry with no thumbnail would display if I created an album the normal way, by creating a folder called 360 in /albums.

It would be nice if we could manually create an album and set its parameters from the admin interface instead of messing in php files. These parameters could be:
- setting thumbnails on/off for that album.
- adding a description to an album (eg. how to browse those panoramas, a message saying that it needs Java support, and a link to JRE).
- manually specifying a thumbnail for the album and for individual panoramas in the album.
- specifying arguments that will be passed to img.php after clicking on an intem in the album (I need to pass things such as panorama filename, quality level, exposure for HDR panoramas, autorange and field-of-view to the applet in the modified img.php).

I managed to do these things in one day although I'm quite new to PHP. I'm sure that wizards here will be able to code these things into the next version in no time!

You can see my 360° gallery on www.theonlychurch.org

Comments

  • ps. by saying "- manually specifying a thumbnail for the album and for individual panoramas in the album." what I mean is being able to take any image (one from our gallery, or from another website, or straight from the PC) and to feed it through i.php, the file that creates thumbnails from pictures, in order to create a thumbnail for the album, and for an entry in an album, whether the entry is either a photo, a java applet that displays a panorama, or any other type of media that zenphoto will support.
  • i cant get your site to load.
  • DrSlony Member
    Well try again, it works and worked fine.
Sign In or Register to comment.