![]() |
|
Integration with a large pre-existing site - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Integration with a large pre-existing site (/thread-5007.html) |
Integration with a large pre-existing site - thinsoldier - 2009-04-09 Hello, I started working towards this but ran into issues trying to acquire the the auto-generated-thumbnails. This was ages ago and I'm now considering installing this new zenphoto and continuing that project. But I'm hoping someone has had a similar idea already and is further along than I am (and has written much better code). Here's an example of where I am so far. I'm using a simple flash based image viewer/slideshow/gallery/thing-a-ma-jig called simpleviewer. I supply this with an xml file that tells it where to find the images and what their captions are. JAVASCRIPT: The xml is generated by some php code that takes the album values and queries the zen_albums table for the folder name and then queries the zen_images table for all images in that album and generates the xml needed by the flash simpleviewer. What I'd like to know is if anyone else has already written an intermediary/in-between/cross-over/api kind of php class that allows a site to easily utilize the image data and thumbnails created by zen-photo within their existing site instead of having to re-skin zen-photo to look like it fits in with their existing site. At the very least I'm hoping there a class or a set of functions buried somewhere within the zenphoto code that goes about acquiring the necessary info about images and their albums and thumbnails in the "proper" way instead of my having to guess at what queries I'd need to run to get the data I think I need. Anyone know? Integration with a large pre-existing site - thinsoldier - 2009-04-09 And NO, the site where the example is located is not what I want to use this on. Integration with a large pre-existing site - acrylian - 2009-04-09 You probably should try it this way: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin You might also look at the efferescence+ theme that also has an option to use simpleviewer. |