Closed (fixed)
Project:
Avatar Selection
Version:
5.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 16:03 UTC
Updated:
3 Jan 2008 at 23:53 UTC
I have File System set to Private.
File system path is outside web server's document root (/var/www/drupalfiles)
Selectable avatars reside in /var/www/drupalfiles/avatar_selection
I am confused when it comes to setting "Picture image path" and "Default picture" in User Settings...
Should I set "Picture image path = /var/www/drupalfiles/avatar_selection" ?
Or can I keep it separate, e.g.: "Picture image path = /var/www/drupalfiles/avatar_uploaded"
And where should I put the "Default picture" image?
Thank you.
Comments
Comment #1
stella commentedThe "Picture image path" is the path where user-uploaded avatars are stored. They usually take the file-name format "picture-[uid].extension", e.g. picture-1.gif. I usually keep this setting at the default (/var/www/drupalfiles/pictures). If you want you can set it to be the path to the avatar_selection directory but if you do this any user-uploaded avatars will now also be available to other users via the avatar selection box. If you have enabled the option to prevent users from uploading avatars to their profile, then it doesn't really matter what you set it to.
The "Default picture" should be a path to an image. You can store this image wherever you like, though I would recommend putting it in either the avatar_selection images directory or the "picture image path" directory as you may run into problems with viewing the image with a private file system.
Cheers,
Stella
Comment #2
skizzo commentedThank you for clarifying the issue. Eventually I configured two separate directories, much cleaner. Only problem is that I cannot put the default avatar in either one: if I do, it doesn't find the image... I guess it has something to do with the Private method. So I ended up putting the default image out of the Drupal root alltogether, and specifying the fully qualified URL in User Settings.
Comment #3
stella commentedIt may be alright. I've had problems with using the private file system method before, especially after switching an existing site from public. The default avatar is controlled by the drupal user module, so I can't really provide much more help I'm afraid.
Cheers,
Stella
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.