We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23849
    • 223 Posts
    thefutureforward Reply #1, 17 years ago
    Hi All,

    I’m looking to set the default user photo simply to blank. I’m guessing the code to do so is in webloginpe.class.php but I’m not sure exactly what to change. I’ve tried commenting out line 579 like so but it’s not working:

    else
    		{
    			//$photo = $modx->config['site_url'].'assets/snippets/webloginpe/userimages/default_user.jpg';
    			$photo = '';
    		}


    Let me know how to set the default user photo to blank, thanks!!
      Nick Hoag
      Creative Partner
      The FutureForward

      http://thefutureforward.com
      • 3647
      • 177 Posts
      Don’t know if this will work for you, but why not create a 1x1 pixel jpg, name it default_user and replace the current one which lives in:
      /assets/snippets/webloginpe/userimages/default_user.jpg

      Mark