Hello Drupalers! —

I’ve found posts (without resolution) with the same trouble I’m having: assigning a generic avatar image to users who don’t uploaded one. I’ve followed ideas found elsewhere to no avail.

So far, I’ve tried these permutations of paths on the "Administer > User Management > User Settings" page in the "Default picture:" field with Drupal 5.5 ...

filename.png
filename.jpg (I created a JPG thinking maybe the PNG was a problem.)
userpictures/filename.png
files/userpictures/filename.png

I also set the "userpictures" folder and all enclosed files to "777" thinking permissions might be the problem.

I can access the avatar PNG or JPG via browser(s) with a direct HTTP call (ie. http://www.mysite.com/files/userpictures/filename.png). But, the generic avatar won’t show up within Drupal. All I get is a little mini blue icon with a question mark on it where the avatar SHOULD be.

Any ideas? TIA!

Comments

Garabed Setrakian’s picture

I have the same issue exactly and can't resolve it. I've also checked all user forums (very dissappointing) Although, I am using Drupal 6.x

cargiglio’s picture

Hi Garabed Strakian, in the URL of the default image put the "full" path, relative to drupal : sites/default/files/pictures/image.jpg , if you have it there.

Hope It works