We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4041
    • 788 Posts
    I had an issue with the manager and web user profile images not showing in the admin edit panel. Apparently this is due to the way the image is saved in the db as a relative url, (assets/images/image.xxx) which in turn gets "http://yoursite.com/manager/" appended to it when you view it inside the manager panel. My patch to fix this issue was to add $site_url to the image path (you will have to edit 2 core files so make sure you back up the working copy)

    #1 - manager/actions/mutate_user.dynamic.php
    -> line: 795
    -> added $site_url. to $userdata[’photo’]- user photo link, as it was adding manager/ since it is saved as a relative url in the db
    -> fix: $site_url.$userdata[’photo’] ? $site_url.$userdata[’photo’]:
    #2 - manager/actions/mutate_web_user.dynamic.php
    -> line: 514
    -> added $site_url. to $_POST[’photo’] & $userdata[’photo’]- user photo link, as it was adding manager/ since it is saved as a relative url in the db
    -> fix: $site_url.$_POST[’photo’] : $site_url.$userdata[’photo’] ? $site_url.$userdata[’photo’]:


    I also filled out a bug report here: http://svn.modxcms.com/jira/browse/MODX-244
      xforum
      http://frsbuilders.net (under construction) forum for evolution