Inclusive Artist Galleries
Inclusive Artist Galleries
I think it'd be nice if you could have a single submission in multiple galleries. That way a submission that has multiple artists or one that was submitted by someone other than the artist will all show up under the artist's name.
For example in this one: http://opengameart.org/content/rpg-enemies-11-dragons Redshrike could have this submission under his gallery and since I contributed it would also be in mine. Or this one: http://opengameart.org/content/lpc-arabic-elements has art I created and shows me as the artist but only shows up in William's gallery.
No problem.
This is a technical note to myself so that I remember how I'm going to do it. I'll be adding a hidden user reference to art submissions, and each time art is saved, it checks to see if the external author field has been filled out. If there's something in that field and it matches the name of an OGA user, then I reference that user in the hidden field. Otherwise, I reference the submitter in that field.
In the user gallery view, I just need to filter on that field rather than submitter.