Default Profile Picture

Permalink
I was wondering how i could set the default image for profiles without like setting a default value in the DB.

Like how here there is the little green think if the person does not have an avatar

Mnkras
 
duxferrarie replied on at Permalink Reply
Ever figure this out?
I had it working and then upgraded the forum and poof. Gotta a good solution?
NBardales replied on at Permalink Reply
NBardales
For future reference:

Add the line:
define('AVATAR_NONE','/avatar.png');

to 'config/site.php' (please note this 'config/site.php' not 'concrete/config')

Replace 'avatar.png' with your image file name and upload the image to the 'images' folder on your website root (normally 'public_html').


Extra explanation:

If your image file name is: 'default.jpg', you would change 'image.png' to 'default.jpg'

The 'default.jpg' image must be uploaded to 'WEBSITE ROOT/images'

For a detailed video and image tutorial, visit www.www.nicolebardales.tk/blog/concrete5-default-user-avatar...