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

Comments

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.

Status:Active» Fixed
StatusFileSize
new3.07 KB
new3.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

Status:Fixed» Closed (fixed)

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

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

Cheers,
Stella