Pages (2): 1 2   
Member
Member
titou   24-11-2009, 11:32
#1

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.biz

If you want to help me for the last things to do, i'll be glad !

PS: Sorry for my poor english !!)

Member
Member
olihar   24-11-2009, 11:46
#2

Ahhh just what I spoke to Acrylian about few days ago... Super fast image browsing.

Does this support Google maps? Description with images? Tags?

I think something like this should be part of ZenPhoto as a theme.

Member
Member
titou   24-11-2009, 12:13
#3
  • It's not support Googlemaps for the moment (because I don't use it)
  • 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).

Administrator
Administrator
acrylian   24-11-2009, 13:23
#4

Nice of course, especially as it just preloads one image at the time. I can imagine that it is a litte difficult to get it to work with all the other standards.
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?

Member
Member
olihar   25-11-2009, 00:29
#5

Would there be a change to get a copy to try and get Google maps to work. You can get in touch privately through my web-page. If you want to hold of posting in public as it is now.

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

Member
Member
titou   25-11-2009, 14:21
#6

I think that a theme is easier than a plug-in. I'll try to put all standards on it but it's a quite complicate.

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

Administrator
Administrator
acrylian   25-11-2009, 14:45
#7

JS stuff is easily getting complicated and that is one reason why similar things are not in the standard themes as we would have to maintain and we are just two active devs as you probably know... :-)

Regarding plugin vs theme. Of course choose what is easiest for you. Any new theme is welcome.

Member
Member
olihar   26-11-2009, 02:04
#8

Titou, I have received your files, and sent you email with some questions, Thanks. I hope we can make something to share with the community.

Member
Member
Laurent   29-11-2009, 13:09
#9

Very impressive, the images load very quickly.
You also have a great function : the keyboard navigation. Can you share this for us ?

Laurent

Administrator
Administrator
acrylian   29-11-2009, 13:24
#10

Keyboard navigation is not that difficult, see for "accesskey" for example here:
http://www.w3schools.com/TAGS/ref_standardattributes.asp

Member
Member
Laurent   29-11-2009, 13:50
#11

Thanks for the link, i'll give a try.
I notice that titou use the : jquery.hotkeys-0.7.9.min.js

I will search google fot that too ;-)

Laurent

Administrator
Administrator
acrylian   29-11-2009, 14:33
#12

Of course there is probably a jquery tool for everything..;-)

Member
Member
titou   07-12-2009, 14:23
#13

I updated my script to support more plugin.
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.

Administrator
Administrator
acrylian   07-12-2009, 15:33
#14

Actually most Zenphoto functions have a "get" variant that just returns values. Some "print" variants print more complicated html setup so a plain "get" equivalent is not possible.

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).

Member
Member
duckunix   09-12-2009, 05:49
#15

Do you folks have something you can share? I am looking to set up a new zenpage site, and I really like the look of olihar's site...

Thanks!

don

Member
Member
titou   22-12-2009, 09:41
#16

The adress of webpage change now, you can test it on http://www.titou.biz/zen.
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.

Administrator
Administrator
acrylian   22-12-2009, 10:40
#17

Looks nice. I will not implement this in the official theme though, as I/we have enough stuff to maintain anyway.

It probably would be great if you could maybe make a completely new theme/design since we could always use some?...;-)

Member
Member
olihar   22-12-2009, 12:51
#18

Yes I have had that in mind when the script has been done and cleaned up to implement the drop down menu I posted earlier on the forum and make a clean and new look, take away the sidebar and only use a drop down for navigation. Make a very clean, simple and fast browsing theme.

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.

Administrator
Administrator
acrylian   22-12-2009, 13:14
#19

Sounds good. I don't understand the flash object question actually (if it was a question).

Member
Member
olihar   22-12-2009, 13:37
#20

No it wasn't a question :-) per say...

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.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.