[ansel] Tree view mods

Ben Chavet ben at chavet.net
Sun Feb 22 20:06:17 PST 2004


> Perhaps, but is the concern strictly one of real-estate? I think one
> preview image should be sufficient for all the galleries.  I just didn't
> have the time to rewrite the entire "groupbyowner" part of the list.php
> code, so I kept it with a preview per owner (if you have it not
> groupbyowner, then there is only one preview image anyway).  It
> shouldn't be too difficult to rewrite that page to process the tree view
> different from the other views (list and tile) giving only a single
> preview image.

I guess I envision a groupbyowner tree view to be something like this:

     (-) [img] Parent Gallery
      |---[img] Sub-gallery1
      |-+-[img] Sub-gallery2
      | |---[img] Sub-subgallery
      |---[img] Sub-gallery3

With a simular tree for each user with a nice header with the owner's name.

Then a non-groupbyowner tree to be something like this:

    (+) User1
    (-) User2
     |---[img] Gallery1
       |---[img] Subgallery1

In other words, all of the groupbyowner trees bundled together into a 
tree.  It
could just be that we have different visions for the same idea.

> The idea of an icon image is noteworthy, I'm just not sure how much use
> a 20x20 version of a 3000x2000 image is going to be.

Yeah, I thought about that after I had already sent my message.  20x20 is
definitely too small, but perhaps some smaller version of the thumbnail.  I'm
just trying to think ahead.  I already have 60-70 galleries & that 
would take a
lot of screen realestate in a tree or list view.  As my gallery list grows, it
only gets worse.

> How about I see if I can make a quick re-write of tree code to ensure
> that there is only one preview page for all the galleries for both
> "groupbyowner" and otherwise.

The problem I see arising with having a single preview image for a tree 
is when
a user gets to have a lot of galleries.  The tree may be taller than the
browser window & to see the preview, you'd have to scroll back & forth.

--Ben

PS, I hope my sorry attempt at ascii-art doesn't get lost during the mailing
list process :)



More information about the ansel mailing list