I have a problem with the avatars...

My file directory is not accessible over the web, and the 'download' method is set to 'private':

the path is: /home/site/files

Unfortunately I can not make the images work -- all the images in the avatar gallery have a path like 'http://home/site/files/avatar_selection/avatar.jpg'

If an user uploads an image and it gets approved it is displayed correctly with the 'http://www.site.com/system/files/pictures/picture-1.jpg'

I use the following Avatar modules:

avatar_selection-5.x-2.4
avatar_gallery-5.x-1.x-dev
avatarapproval-5.x-1.0

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lias’s picture

I am having this same problem with private file downloads on Drupal 5.7 using avatar-selection 5.x-2.4. Strange thing is it works for private files on another website with same configuration.

stella’s picture

Status: Active » Fixed
FileSize
3.07 KB
3.19 KB

Sorry for the lateness in replying, I've been away for the last month.

Try the attached patch. I've attached one for D5 and the other is for anyone using D6 who may have encountered this issue.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in 5.x-2.5 and 6.x-1.3.

Cheers,
Stella