Subalbums - an Update

2

Comments

  • There is nothing I look forward to more than this feature. I like the way Tristan is going about this with utmost caution. I have spent hours getting my ChiliLight 2 theme to work perfectly and would hate it if some quickfix solution to the subalbum problem results in all my work going down the drain. Thank you for your great software and your diligence and care.
  • trisweb Administrator
    WHOOPS I accidentally deleted a valid comment... sorry whoever that was... as far as I remember is was something like, "Once subalbums are in I'll tinker with Zenphoto much more often because it'll be my primary gallery" -- so I heard you, whoever you were. Sorry. ;-)
  • That would be me ;)

    And I *still* plan on tinkering with it when subalbums are in place, regardless if you delete my comments or not haha :)

    Also, that's definately not to say i'm not willing to wait until you've got it in place how you want it, just that i'm anxious to move my gallery to zenphoto and play more ;)
  • First off, thanks for releasing ZenPhoto - I love it's style and simplicity.

    I don't mean to sound pushy, but any news on when subalbums might surface? Even without Admin functions--just the ability to parse subfolders would be heaven :-) I'm wondering because I'm currently implementing ZenPhoto for a site for some friends of mine--but I need subalbums. If it'll probably be soon, then I'll just wait as I prefer ZenPhoto to any other gallery app (that plays nicely with WordPress) I've seen. But if it'll be a while, then I'll probably have to find another alternative. Thank you.

    Thanks again for a great app.
  • You can download and use the svn.. it works for the most part.. I have it running on a site of mine and it is working.. It does need a little work but it gives you sub albums.........
  • I'll give it a spin, thanks!
  • <b>Chilifrei64:</b> Firstly thanks for ChiliLight2. It is the best theme for me. Secondly will the SVN subalbum version work with an existing ChiliLight2 implementation? I really love what I have got and would hate to lose it.
  • My guess would be yes but I havent tried it. I will give it a try when I get home and will post back. Thanks for the compliments
  • Thanks ChiliFrei. I hope to change the code in my existing installation "line by line" instead of overwriting any files. I will be very grateful if you can look into such a possibility.
  • Can someone post a link to a working gallery with subalbums. I'm really curious how it looks like. And how do i get the subalbum svn i would like to play with it these days. Thanks in advance
  • It does not work with the subalbums branch. I didnt take into effect the new functions for the subalbums. My bad if I got your hopes up. I can see what I can do but I have no time frame.
  • Ok i got the SVN subalbum now but after setup if i want to go to the admin part i got this error:


    Parse error: parse error, unexpected T_ELSE in C:\Program Files\Wamp\www\zptesting\zen\admin.php on line 501


    What's wrong with the file it looks totally the same as the old admin.php file on that line.
  • the subalbums branch does not work with modrewrite. set it to false and it should work for ya.
  • cant get it to work which theme is already pre set to use subalbums i found it in the classes but i still get undefined function errors
  • I got subalbums working nice stuff. Finally it's time to play!!! Thanks Alot Chilifrei64 couldnt have done it without your help. i will post here some news if i made something useful of it.
  • I found one problem my thumbs do show now but my full images wont show up. Chilifrei64 you got it working is there some / problem in the url or what is the problem because the url is correct and if i change the %2F to an / the full images shows but within the development theme it will not show. How do i fix this?
  • do you have modrewrite enabled. I didnt do anything special to get it working. the %2F is correct(atleast it works on my theme) it is its equivilent.
  • modrewrite is on false can you maybe share your working theme, template-functions.php and Classes.php with me to let me check if the problem is not server related...

    It really seems that by loading the images using the absolute path in the code like <img src="Path/to/pictures.png"> the /'s wont work but in de thumbs when it is using the php query it works allthough i'm not sure about the thumbnails by this theorie because they work like charm. I think it's rather strange.
  • Ok i got it working now with some tweaking using: str_replace('%2F', '/', urlencode($album)) in the i.php. It's weird it has to be like this but it works so now i can really work with it. If someone else has this problem i'm willing to help you with it. but changing
    ` // If the requested image is the same size or smaller than the original, redirect to it.

    if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {

    header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH

    . "/albums/" . urlencode($album) . "/" . urlencode($image));

    return;

    }`

    to
    ` // If the requested image is the same size or smaller than the original, redirect to it.

    if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {

    header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH

    . "/albums/" . str_replace('%2F', '/', urlencode($album)) . "/" . urlencode($image));

    return;

    }`
    Would do the trick i think
  • can someone tell me why album title, description and place are not saved when you are editing those fields. I removed the 'no images in album' check but the information is only saved when there is at least one image file in the album. But i have a subalbum so i dont want to have an image file there. can anyone point me to the right place to make saving empty album information work again.
  • Just wanted to say I am eagerly awaitng a zenphoto release with subalbums! I've put off putting together a gallery just yet so I can use ZenPhoto straight off :)
  • Hello!!

    I can't use SVN here (and also, I sadly I don't know how).
    So is there a way of getting this subalbums feature? Someone could e-mail me with the files needed?

    I already have a gallery running, and I have translated it to Brazillian Portuguese (BTW, if anyone has interest... 1.0.3...) so will be there any trouble (since the language's strings are mixed with the code)?

    Thanks in advance!
    Luiz - marelox [at] gmail [dot] com
  • ok, i could get svn to work. download the 'subalbum' folder from there to my computer, and overwritted with my zen photo old files...

    Then when i clicked on the purge link, it said the `loadFileNames()` could not me found, so i changed it to the `getFileNames()` that was in the file. Stopped the error, ok...

    But I'm still with no subalbums...

    I have a the following folder structure:
    `albums/2006/September`

    But my gallery only show a '2006' link, with nothing inside it.

    Any ideas what it's going on? Can someone help me?

    Thanks
  • with some web server, i had a bug in the 'gallery index' link: i got an error :
    `Warning: array_search() [function.array-search]: Wrong datatype for first argument in /mnt/100/sdb/6/6/adegerai/zenphoto/zen/classes.php on line 624`

    it's a bug in zen/classes.php on lines 611, 617 and 624. I change
    `$this->index = array_search($this, $this->gallery->getAlbums(0));`
    to
    `$this->index = @array_search($this, $this->gallery->getAlbums(0));`
    (the original function in official zen/classes.php)

    BUT: I don't had this bug on my ubuntu laptop with an apache/php5 server with only automatic configuration ...
  • Please, can someone help us out? I tried emailing Tris by but it's been a few days and unfortnually he didn't answered me...

    Is anyone alive? Is the project alive? How may we help?!

    Thanks again
  • I wouldnt say it is dead. more or less at a crawl as far as development goes. There hasnt been a major release in a while here and there doesnt seem to be one in sight.

    as far as the subalbums go. A couple of things.. people tend to not respond to the stickies. Start a new thread for support on this. But to start.. I see you overwrote an existing zen install. there is no upgrade from the current to the subalbums.
    Start a new album and run the install and see if that works for ya
  • I started a new install. There were some mysql errors when first detecting the files in 'albums' folder, but then it stopped.

    After, the "loadFileNames" function could not be found, so I thought the function needed was the "getFileNames" in the same file (classes.php). Then stopped this error too.

    One small reminder for those who possibily were having the same problems as me: also remember to use the "testing" theme...

    And here at my localhost server I have to turn mod_rewrite off, don't now if in the real server it will work...

    Well, thanks to everybody... Now I'll edit the testing theme to fit my needs =]
    And wait for the final release of subalbums.

    ZP is the best!
  • I've just discovered ZenPhoto and I think its ease of use is very key point _BUT_ since I have a lot of pictures to show, I am really disappointed that subalbums are not implemented ... What is the status of this evolution ? In advance, thank you !!
  • trisweb Administrator
    Status... status... oh....

    Obviously with months since a release, development has "stalled." I've lost interest, as I often do when a project of mine strays too far toward being "hacked together" and I just don't feel like touching it anymore...

    I believe the status is as such: I will continue to implement sub-albums and release a 1.1 version with them included sometime in the coming months.

    After that, I will begin work on a total rewrite, Zenphoto 2.0, where I can fix problems from the start that have been haunting me throughout development. There is a time when one must just pick up and start over, especially with software, and that time is nearing for ZP. Hopefully 2.0 will be everything 1.0 was, but built from the ground up to be much more organized and cleaner with the features everyone wants, rather than hacking on new features to a codebase, and indeed a concept, that wasn't designed for them.

    But of course in the end that's just an excuse; I really should have sub-albums on the 1.0 branch by now, and I apologize. I will work on it.
Sign In or Register to comment.