Images listed by keyword

kpmd

Joined: 2006-01-25
Posts: 5
Posted: Wed, 2006-01-25 23:15

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

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Thu, 2006-01-26 22:27

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..

 
kpmd

Joined: 2006-01-25
Posts: 5
Posted: Thu, 2006-01-26 23:00

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.

 
James Blunt

Joined: 2006-01-29
Posts: 3
Posted: Sun, 2006-01-29 20:41
kpmd wrote:
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.

Yeah, i've been looking for a tagging type functionality as well. I find G2 harder to understand than i expected beforehand.

 
kpmd

Joined: 2006-01-25
Posts: 5
Posted: Sun, 2006-01-29 23:31

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.