hey all, I have spent most of the day trying to get through the massive amounts of docs for Gallery2 and am still left wondering some very basic things so I apologize if some of these questions seem mundane or have been answered before.
My ultimate goal is to have a block in Drupal that displays x number of thumbnails for images that have 'foo' as a keyword. At first I thought I could easily hack the ImageBlock module to add this hook but now see it's not that simple.
nevermind Drupal for now, but am at a loss for where to start. I am assuming a new module is required but is this something that should be based off the search module? Is there something that exists already that I am completely missing?
I have gone through the basic (incomplete) tutorial at txtdump which was promising but was never finished. I can grunt through a lot of this on my own, but I need help starting and would appreciate any bump in the right direction.
Gallery2 is an amazing product... I can't wait to understand the guts of it a little more.
kp
Posts: 2258
We are working on functionality like this, and its been requested over and over and is of interest to several of our developers. Theres code out there that does things like that, but its not production quality yet. If you keep hanging around here you should hear more about it and it should make it into the code a release or two out..
Posts: 5
yeah, upon further research I see that it's quite active and I guess it's the tagging type functionality that I'm looking for. If I had a better knowledge of how G2 worked, I would try and help out the cause myself. But that too has been challenging finding much organized info about. I will keep hanging around and see if I can't get my feet wet with some code as well.
thanks.
Posts: 3
Yeah, i've been looking for a tagging type functionality as well. I find G2 harder to understand than i expected beforehand.
Posts: 5
For now I'm including the embed file and then writing some custom code that takes the results of ake yword search that I pass in and renders the thumbnails. It actually wasn't that hard to do but certainly is not the best way to do it. Since I am doing this for an external application, I just wanted to get the images back to handle in my Drupal block. I'm almost done but boy do I want to learn more about how to work with this architecture.