Subalbums - an Update

trisweb Administrator
I just wanted to say that I am really beginning to understand, as a user of my own software, how useful subalbums will be!! I have 10 pages of albums on http://www.trisweb.com/photos and they're completely useless after the first page.

I'm going to have to make a theme that has several displayed sections... "most recent albums", "most recent images", and "all albums, neatly organized."

I guess this is just for everyone to know -- I'm working on it :) Currently we have the basic scaffolding for subalbums working, which is easy, but now we need to make it all work with the administration panel and the themes, especially the included ones.

Also, I tried some of the performance improvements I talked about in the Wiki, and the results so far are phenomenal (around 4-8x reduction in processing time), especially for albums with 100+ images, and galleries with lots of albums (like mine). These improvements will come along with subalbums in 1.1 sometime this summer.

Until then, a 1.0.3 release is due out this week (probably tomorrow) with lots of bugfixes and more security fixes, as well as improved image processing (custom sizing and cropping) and loads of other good new features. Stay tuned...
«13

Comments

  • woo hoooo..!!!!!!!
  • yipeee!!!! I'm waiting and waiting and waiting and waiting and waiting and waiting and waiting and waiting and waiting...

    Oh well, you get the picture.
  • Uhm... pardon me for probably just being blind and stupid... but how exactly does one get ahold of the subalbums svn-version? I tried checking out the one called "subalbums" in the repository, but the files are all just the same as the 1.0.3 release.
  • All the files will appear to look like they are 1.0.3 but a few of the files contain the code.. Install the gallery from the subalbums branch and use the testing theme (development) theme and you will see the subalbums. It does not default to the subalbums theme
  • trisweb Administrator
    Lots of work still to be done, don't get too excited ;-)
  • Hehe, I got it working (finally). Looks promising though, can't wait to see how you're gonna design the admin-page :)
  • I definitely can not wait for this feature! As it sits now I have to have multiple instances of ZP installed to categorize my photos, linking them all together with a header so the visitors don't realize they are in separate installations, it just seems they are in sub-albums...

    Zen Photo is already BY FAR the best gallery solution, even without the few lacking features. Sub Albums will make it all the better!
  • trisweb Administrator
    We're shooting for nothing less than great ("the best" isn't saying much, but that too). No point otherwise, there's a lot of mediocre solutions already... ;-)
  • What about being able to hide albums ? Looking at your gallery, that seems to be something you'd need as well Tristan.
  • trisweb Administrator
    Haha, yes, definitely. It'll be in 1.1 as well, no doubt.
  • And even password protect a directory too (without using the .htaccess method)?

    hehe... i know... it's stretching it, but hey... i can hope, can't i?

    =P
  • trisweb Administrator
    Geez, I better start working on this stuff...

    It's amazing how a 9-6 work day takes your life away... somebody remind me not to let it all go to waste :)
  • Don't let it all go to waste, Tristan!
  • I am *really* eager for this feature, too. I am particularly intersted in the sub-albums being based on the file system directory structure, so photos FTP'ed in their directory structure appear in sub-albums.
  • Hey Tristen. This is the best piece of online software I've seen for gallery creation. It's simply, modifiable, extendable. Besides sub-directories (that's key) it needs IPTC tag support. I'm looking at a few different IPTC classes and I'll see if I can work something into the "default" theme. Also it needs multiple gallery support. I guess this will come by default with sub-directories.

    Also. CSS for non-cropped thumbnails is messed up.

    Here's the fix:

    .imagethumb a {
    float: left;
    padding: 8px 20px 20px 0px;
    height:90px;
    }

    The height and padding is based upon the enlargement of the thumbs in zp_config so you need to experiment with it to get it good for each specific setting in zp_config.

    KEEP UP THE GOOD WORK! all the best, Walker Blackwell
  • Tristan,

    I created a fix for Zenphoto 1.03 development branch's zen/i.php script for handling subalbums where the parent album does not contain any images. The effect of this bug is that all thumbnails and (large) photos within subalbums where the parent album contains no images fail to display.

    Details posted: http://duhblog.com/space/zenphoto+subalbums

    The mid-June version of the development patch fails to correctly generate a new cache directory for a subalbum where the parent album's cache directory was not previously created. The fix, a bit clumsy, loops through the entire directory path to make sure all necessary directories exist in the cache.
  • trisweb Administrator
    Thanks for the bug report gregfoto -- it would be much more useful if you could post it at http://bugs.zenphoto.org along with your patch. I probably won't remember it for the next time I have time to work on zenphoto. Make sure to categorize it under the 1.1 version.

    blackpoint -- thanks for your comments, you might also want to post that one to the bugtracker. I'm also looking for a good IPTC/EXIF external library -- I don't want to require the PHP EXIF library to be installed. Let me know if you find anything. Thanks!
  • Hi!

    I just discovered zenphoto last week. One of the nicest galleries I've run across. Just hoping to add my 2 cents that I agree with blackpoint that subdirectory support would be *VERY* helpful. I have several vacation photo sets - some as large as 600 photos - that are hard to organize when they all live in one directory.

    Thanks to everyone - Tristan for writing it, and all the others who contribute themes, etc.
  • One thing I noticed upon installing the subalbums branch on my testing section (just to fiddle with it) is that after creating a sub dir called "sub" in the "dog" folder, and adding images to it, the subfolder won't display when clicking on the link. Here is the link to the testing album: http://www.thinkdreams.com/devzp/dog/

    I get: Zenphoto: Album Does Not Exist, and the URL is structured like this:

    http://www.thinkdreams.com/devzp/index.php?album=dog/sub

    After looking at the code, it looks like a by product of the urlencode call, but I'm not sure hwo to correct it. Anyone care to take a stab at it? I know this is not a supported feature as of yet, but it sounds like a few of you have this working from the development branch.

    Definitely not at all a rush, as I know it's in the works. Tristan - do you want me to put this into the bugs.zenphoto.org? Or is this a known issue?

    Thanks!
    Thinkdreams.
  • Oh, and BTW, I found a potential code example for EXIF, IPTC, and other stuff in one set of libraries that has been released under the GPL. Worth a look to see if it has some possibilities. Since it's all external libs, it doesn't require internal EXIF or IPTC support, which was one of your requirements Tristan.

    http://www.ozhiker.com/electronics/pjmt/
  • Skwid Member
    This looks like a really good library too:

    http://pel.sourceforge.net/

    For example it allows you to EDIT exif data etc ...
  • @ Thinkdreams

    The error you got is for sure in result of a malformed generation of the link.

    Neverthless, if you put the should be URL you still got an error:

    http://www.thinkdreams.com/devzp/dog/sub

    "Warning: getimagesize() [function.getimagesize]: Read error! in /home/.crunch/thinkdreams/thinkdreams.com/devzp/zen/classes.php on line 91
    MySQL Query ( UPDATE images SET width=, height= WHERE id=67; ) Failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height= WHERE id=67' at line 1"
  • @ Skwid

    "This looks like a really good library too:
    http://pel.sourceforge.net/
    For example it allows you to EDIT exif data etc ... "

    PJMT also allows it. See this sample...

    And PEL requires PHP 5 and that could be an issue for many people.

    Best.
  • Any word on progression? Its been 5 weeks with no word, whats up?
  • Tris has been out of town for a couple of weeks and will be out of town for a couple more. We probably wont see any progression on this for atleast a couple more weeks.

    There is a working version in the svn on berlios. It has the functionality. it is just a matter of writing all the template and management functions to make it work/display as he would like.
  • OK, that's a lot better than hearing he lost interest in the project!
  • trisweb Administrator
    Yep! I'm in Italy!!! I'll pick things up when I get back. :) Do me a favor and spread that around if people get impatient.. Thanks. Later!
  • Awesome, hope youre having a great time...what a beautiful place!
  • Want to see the pictures when you get back - have fun...
  • trisweb Administrator
    I'm back! Still jet lagged, but I'll get on those pictures..

    And damn, I'm gonna need some subalbums support for this trip.... over 1500 photos and they're not going in one album. ;-)
Sign In or Register to comment.