My site uses only personal galleries; photos posted by users will appear only in a user's personal gallery. I would guess this is a commonly desired use of the image module, so hopefully my concerns are also general.

My issues:

  • I want personal galleries available to anonymous users. This is not possible now. As an anonymous user, if I direct my browser to a personal gallery (e.g. image/uid/2), the generated page is the default gallery. I want the generated page to be the user's personal gallery as it is for registered users.
  • There should be a link from a user's profile to a user's image gallery as there is for blogs. I like the "my image gallery" link in the main nav menu for logged in users (this is consistent with the blog module), but it's currently impossible for users to navigate each others' personal galleries. A link in user profiles (like the "view recent blog entries" link) would solve this and be consistent with the blog module.
  • Since users only have personal galleries, I do not want to be required to provide a site-wide taxonomy. This is a small issue, since the only effect is that a taxonomy link appears for each image that links to the image taxonomy root, which is always an empty set. Annoying, but not critical.

I'm going to go ahead and hack the first two bullets into my version of the CVS HEAD image.module, but I would like feedback on this before I submit a patch.

CommentFileSizeAuthor
#4 image-usergallery.patch1.92 KBjoachim

Comments

eap1935’s picture

This is an easy fix, but might require a fix to a problem I uncovered with the user.module user_access() function.

I also changed my mind about the third bullet. Once I got the personal gallery navigation working as I think it should, I realized it's nice to have the default taxonomy category as a catchall to see a reverse chronological list of all the images in all personal galleries.

bruno’s picture

Category: task » feature
Stefan Nagtegaal’s picture

Component: User interface » image.module

There is a new image.module now with a whole new api. Please update drupal and image, and feel free to re-open this report when you still can duplicate the bug.

joachim’s picture

Title: Personal gallery design » Personal gallery & link on user profile
Version: » 5.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new1.92 KB

It's suprisingly simple to implement this now we have Views :)

Here's a patch on CVS 5.x branch.
It adds an argument to the existing 'Recent images' view, and uses hook_user to add a link to that on each user's profile (just the same as blog.module does).

(Updating title to something clearer too.)

drewish’s picture

i'm starting to become reluctant to commit stuff to the 5.x-2.x branch that isn't committed to HEAD first. i'd like to get the view support ported into HEAD and then revisit this.

Hetta’s picture

Is HEAD 6.x-...?

drewish’s picture

yeah head and the 5.x-2.x branches are out of sync with regards to views support. 5.2 has much better views support but i didn't make a stink about getting it into HEAD because views wasn't working on 6.x at the time.

joachim’s picture

I've started looking at views support for 6.x... could use a hand though :) http://drupal.org/node/220295

Hetta’s picture

marked http://drupal.org/node/226691 as duplicate

sun’s picture

Status: Needs review » Closed (won't fix)

Sorry, unfortunately this request is way too specific.