Is there something wrong with Gallery API?

bengibollen

Joined: 2005-09-12
Posts: 4
Posted: Mon, 2008-04-28 21:17

First off. I have not actually coded anything for Gallery - yet. I only made a tiny effort to customize a skin at one time, but that's it.
I believe there are a lot of features regarding site administration that the Gallery coders should be proud of: Automatic upgrades, adding modules and themes without having to download and unpack the files yourself and the possibility to run several Gallery2 sites from a single install are just a few great features that several other applications (drupal, wordpress, etc) are missing all or some of.

What Gallery doesn't have are user contributions. There are a few, but in my opinion not even close as many as what could be expected for a widely used application like Gallery. Wordpress have what seems to be hundreds of user contributed themes of varying quality. Drupal have a throng of modules. Even pmwiki (anyone even heard of that?) have more user contributed modules and themes than Gallery2.

Why is this? Is the API too difficult to understand? Is it difficult to actually contribute the work on the web site? Where is the problem? Is there a problem at all? Am I maybe representing a minority of the users?

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 616
Posted: Tue, 2008-04-29 13:19

Maybe Gallery users are all satisfied with the range of themes and modules that are already available? When I saw gaps I didn't find it particularly hard to get to grips with the API and write modules to fill them. The developers' documentation isn't particularly fantastic, but the core developers have been very generous with their time to answer any queries that I have had along the way. Although I'm not any kind of expert, I've found the API to be extremely well designed, judging by how simple I've found it to 'get the job done', once understood.

Are there any particular features you think are missing?

Login or register to post comments
bengibollen

Joined: 2005-09-12
Posts: 4
Posted: Tue, 2008-04-29 16:36

I'm just making an observation. ;-)

I'm well aware that the number of contributed stuff isn't the best measurement of the quality of the API or docs. It could be that the numbers may be low, but the quality of them are really good. But I somehow find it curious that the number of contributions are comparingly low. And I do think even the lesser quality contributions can have a value. If the idea is good, the code can always get better.

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 616
Posted: Tue, 2008-04-29 17:11

Perhaps there are just that many fewer things to do with a picture gallery.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Wed, 2008-04-30 04:00

I find that there is not enough themes as well, I don't know why as we have had contests where you get paid $$ and that only produced a few. The free forums/IRC support for assistance from developers as well as other team members is of higher quality than other projects. ( my opinion )... But like alecmyers said there is not much you can do with photos.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
bengibollen

Joined: 2005-09-12
Posts: 4
Posted: Wed, 2008-04-30 14:49

You may be right there's fewer things to do with a photo gallery. But I really don't think we are even close to the limit. There has to be more ideas waiting to get realised. Especially when it comes to themes. Gallery are even lacking those very simple customisations where someone just have changed colours, header image and some other style parameters of one of the official themes. Those are not very revoulutional, but they at least bring some diversity. The excellent theme X_treme is a good example of a theme that adds a whole lot of customization and diversity just on its own. But there are limits to what it is able to do and there is plenty of room for more.

There are room for more modules as well. Just when writing this, I thought of a few things that I haven't seen yet (I may not have looked enough though). Like a nice interface to search for exif-data. Search for photos taken in a specific time range, maybe a timeline presentation of when photos were shot. Combine searches for keyword/tags, time, geographic location etc. Dynamic albums placed in the regular album tree (saved searches).

"Hey, make them yourself if you have so many 'great' ideas..." Well, I would. Given time and if a personal need big enough arise. But this discussion isn't about me wondering why module x or theme y isn't already made for me personally to download. I know I may be comparing apples and bananas as you pointed out, but it does seem like the gallery "banana" community are missing some contributing members when comparing to other "apple" communities. (Are there even any more "banana" communities of this magnitude to compare with?)

And look at early winamp. What can you do with a media player like that? Not much room for customisation there. But still, millions of skins were made. I even made a few myself. One reason is ofcourse that the "API" in that case was extremely simple. Anyone with MS Paintbrush could do their own skin. But my reasoning for my first post is there has to be a greater relation between number of contributions and API complexity than "how much that can be done". I haven't studied the API that much. But given the quality of what I have experienced with gallery, I never believed that it is especially bad. But that doesn't mean it isn't too complex. I never meant to point out the API as something that actually is to blame. It's just speculation from my side and I needed a point from where to start this discussion.

I summarise with a simple and perhaps a bit biased diagram:

  • 1. Are you happy about the current number of contributions being made?
    • a: Yes, we have everything we will ever going to need. -> Discussion closed.
    • b: No, the community would benefit from more creativity from its members -> continue to 2.
  • 2. What can be done to encourage people to contribute?
    • a: Give nice prices in different competitions for best theme etc -> Tried that, didn't work. Go back to 2.
    • b: Try to find out if gallery is lacking something that some other communities with a lot of contributing members have. -> continue to 3.
    • c: Find new ways to encourage people. -> Brainstorm (have no real branch for this)
    • d: Nothing! Nothing can be done. We are forever doomed with this. -> Go have your psychiatrist prescribe you something. Then come back and have a fresh, more positive, view on this.
  • 3. Wherein lies the problem? (I am here)
    • a: The API. The API is just bad. Hardly anyone understands it. -> Fix it. Make it simpler/less complex...
    • b: A photo gallery has it limits on the amount of possible contributions. -> Ok. If that's the case, I guess it's not much more to do.
    • c: The process needed to submit your work is to blame. -> Maybe a new section for contributions could be made on the gallery web page. Each work could have their own page with descriptions, comments, ratings etc instead of links to some forum thread.
    • d: The community itself is to blame. They are just a bunch of lame people -> If you are even close to consider this, I can tell you that you are not completely wrong. There are at least one lame person here - YOU.
    • e: Other -> Try to identify this and come up with a solution for it. Else, goto 2.c
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9507
Posted: Fri, 2008-05-02 04:18
Quote:
The API. The API is just bad. Hardly anyone understands it. -> Fix it. Make it simpler/less complex...

We welcome patches or other methods to make it better. It is a complex, secure, scalable, powerful, multi OS/DB web application that has lots of features and requires a complex API to accomplish what it does.

Quote:
The process needed to submit your work is to blame. ->

We have user contributed modules/themes, where authors can have the modules that the end up in downloadable plugins. I don't know of any other web based application that has this.

Quote:
Find new ways to encourage people.

We welcome ideas. Got any?

Quote:
c: The process needed to submit your work is to blame. -> Maybe a new section for contributions could be made on the gallery web page. Each work could have their own page with descriptions, comments, ratings etc instead of links to some forum thread.

The codex is the documentation for users by users. Feel free to contribute to the codex to make it better.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments