I'm configuring a custom gallery for each user to have on their user profiles (Advanced Profile). BG is installed and working fine.

I installed ImageField and created a field in the user's profile with the image path: pictures/user_photos/[user-id]

when the user uploads their fields they go to files/pictures/user_photos/1 where 1=the [user-id] token supported by imagefield.

Inside the the user profile's custom content pane [bg|user_photos/1] works just fine.

I was hoping this would work: [bg|user_photos/[user-id]] but it doesn't.

Does anybody know how to add an argument within the BG tag to fetch the user-id to be used as part of the image path? I'm guessing is a small PHP fragment but that's beyond my pay grade.
Thanks.

Comments

tlash’s picture

I was hoping somebody would respond since I do love the brilliant gallery application. Did i put this support request in the wrong place?