Hi,
I've made an adaptation of tricasa theme for Zenphoto.
The code is not clean for the moment but working well with comments, and plugins like flowplayer 1.2.6.
you can use hotkeys "right" and "left" to navigate between images
It's base on the last version on zenphoto (1.2.6).
Todo:
- add support of rating plugin
- add support for the counter (the idea is to take the same code as the slideshow)
- optimize the javascript (and the table wich countain all information about images...)
- add a jQuery plugin for history
Here the link for the demo
http://zen.titou.bizIf you want to help me for the last things to do, i'll be glad !
PS: Sorry for my poor english !!)
Comments
Does this support Google maps? Description with images? Tags?
I think something like this should be part of ZenPhoto as a theme.
- It's support description
- It's not support Tag (for the moment) but the process should be the same as description.
My actual problem is to give for admin the right of editing description and title of image.
The (big) difference between tricasa and this theme is the process of loading image. In tricasa, the image is load on the html page (hidden with css), in mine, image is load on the dom and replace the image when you change picture (without css).
A theme with this would be welcome of course. Or maybe this could even be a plugin so you could setup any theme with it?
www.olihar.com
I am pretty busy these days but I might be able to slip in some minutes to have a look.
I am very interested in knowing how this will work with the the class-textobject to load some flash. See here for example.
http://www.olihar.com/gallery/Panorama/Iceland/Valahnjukur.txt.php
In the idea, I need to have an extra page (like theme-function.php) allowing me to get all information from the previous image and the image next to having to load them in my page. It is easy to do with the image name, comments, title, description, but it is complicated with the rest, including the function reserved for the administrator to "edit in place"
Olihar => You've got the theme on your mail
Regarding plugin vs theme. Of course choose what is easiest for you. Any new theme is welcome.
You also have a great function : the keyboard navigation. Can you share this for us ?
Laurent
http://www.w3schools.com/TAGS/ref_standardattributes.asp
I notice that titou use the : jquery.hotkeys-0.7.9.min.js
I will search google fot that too ;-)
Laurent
Today I integrate these plugins:
- Comments
- Flowplayer3,
- Tags
I try to integrate the google map script, but I've got always the same difficulty. Php functions used by default in zenphoto contain "echo" so I need to open all plugin's file, take print function and copy it in my theme function (by copying and pasting and replace the "echo" by variables).
What could be interresting in a future version zenphoto would distinguish 2 types of functions:
- The display function (with echo)
- Processing functions (returning only variables).
So the theme in advance and try to get a clean version in a few days.
The google maps plugin especially does not have that as probably the initial developer of it had not thought about that. Since you already made those functions, feel free to submit them as additions for that plugin via the ticket system. We welcome every contribution (also if you find missing things like this elsewhere, but note we have also a object framework that can do many things more flexible than the pure theme functions).
Thanks!
don
It's base on the last version of zenphoto (1.2.8), and I working whith Olihar to add google map plugin....
So, I think early 2010 I could offer you a clean script.
It probably would be great if you could maybe make a completely new theme/design since we could always use some?...;-)
I have been doing some tests of having a theme with 3 colors that the user browsing the web chooses to his liking, White, gray and black. The flash object I use on my own web-page using the Text-Object are giving me a hard time not being able to change background color using CSS.
I am pretty sure I cant change the background of a flash file that I use Javascript to display using CSS.
var so = new SWFObject("path to flash file", "name of object", "100%", "300px", "9.0.28","#FFFFFF");
This will be a white background. I am going to look into this a little more and then I might bring out a question.
I am using Text-Object to embed flash to my webpage... you can see here.
http://www.olihar.com/gallery/Panorama/Iceland/Aurora.txt.php
It works great and titou has gotten the script to work with it perfectly.
But like I say if I want to do a theme with different colors I am having hard time changing the background of the flash object using CSS.
- Google map plugin is enable now.
- Hitcounter is working (in ajax: called slideshow-hitcounter.php)
http://zenonfly.googlecode.com/files/zenonfly-withimage.php exemple.zip
I think there will still include a new theme this feature. Olihar working on this, but he did not have much time yet.
I'm going to make a small post in the appropriate section.
Thank you in advance for your return.