[map module] Filter by depth

hillcj

Joined: 2006-02-06
Posts: 4
Posted: Wed, 2006-02-22 02:15

I looked around and this might be possible I just didn't notice any documenation on it. I would like to filter based on an album but only show that level. Right now if I select my Root Level, it shows all the pictures and albums that have gps coordinates even in sub-albums. for examples
Root
- Album 1 /w GPS - GPS Pictures
- Album 2 /w GPS - GPS Pictures 2
- Album 3 /w GPS - Sub-Album - GPS Pictures 3

I would just want to show the 3 Albums, not the pictures or sub-albums. I find with new thumbnail filmstrip option, it too many pictures to display. With this option my scroll bar seem to go forever. As per Album 3, I would just want to show the Sub-Album if I put the GPS coordinates in manually.

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2006-02-22 03:59

Something very similar is in 0.4.10:
https://sourceforge.net/tracker/index.php?func=detail&aid=1425533&group_id=152389&atid=784164

In Gallery 1 (does anybody remember?) it had a option for showing the 'depth' of the album tree. I guess if 0.4.10 does not have what you want then you will have to come up with a user story and some example screen shots how you envision the admin interface for this feature.

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-02-22 04:38

Hmmm, this is actually not possible at the moment, the way the "album filter" works is it does show everything included in sub-albums .... we would have to add an option in the admin panel to select a depth ... 0 would be only show stuff in the current album. 1 in album content and 1st level sub-album contents, etc ...

Can you add a feature request in sourceforge. In the mean time I'll think about it. If it's easy I'll get it in before the next release otherwise it will be after :-)

i'll let you know.
-------------------------
The Termite :-)

 
hillcj

Joined: 2006-02-06
Posts: 4
Posted: Wed, 2006-02-22 13:07

I looked through the code trying to add it myself, but I couldn't figure out where exactly to filter an item based on its direct parent. I will have another look again tonight and see if I can be sucessful. If so I will send over a patch. Don't know if this would be easier, but I applied the Album Regroup and that cleaned up most of them. Would it be possible to remove the item during that process, so it won't display in the thumbnail strip ? Only display the item that have actual markers on the map.

Thanks

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-02-22 13:46

I thought about that and it's pretty complex. I didn't want to do it right away. I'll have to make sure that the thumbnail bar get dynamicaly updated at each zoom change and it might actually be pretty slow.

I'll check on it, please post a couple feature requests :-)
-------------------------
The Termite :-)