Hi,
I just integrated zenphoto and i really like it! But there is a strange bug occuring to me: I have a test album with 5 photos in it. When I select any Photo except the first one, when I click the "Next" button, it goes back one for picture 3 to 5, when selected picture 2, I need to click 2 times to get to picture 3. Only if I selected Picture 1 first, there is no problem. The strange thing is, that after I clicked one time and it went back one picture, when I click "Next" afterwards it functions properly. I implemented zenphoto via iframe, because I was too lazy to create a template for my website, which is rather complex. I would really appreciate your help because I'm trying to get it to work for 3 hours now.
Comments
I'll take a look at the next/prev code though and see what's causing it, because it still shouldn't be a problem even if the database doesn't back the files in the album...
already tried cleaning up the my db, no effect...just found out that if I click the "prev image" button after selecting a picture, nothing happens, only if I first click on next, then the prev button works...
choose "test" gallery
http://www.zenphoto.org/trac/register
The JS image transition works, but the next/previous between images has not yet been implemented. If you take a look and perhaps try it, you might realize how difficult it is. This is why the theme is called Testing-JS.
This problem you describe: "Only if I selected Picture 1 first, there is no problem." this is exactly how it is currently implemented - it cannot yet know which image you are on because it does not reload the page (though it is possible using anchor links and javascript, and will eventually be done).
Please refrain from using the Testing-JS theme until it's ready.
I will remove it from the release to avoid confusion. Sorry for that.