[Plugin: Add Local Avatar] problems with directory path
-
I just upgrade to 7.5 of Add-local-avatars; with the change in DOCUMENT ROOT setting, which resolved a problem I was having with entering the path to the avatar folder (where local avatar images are stored). Now by setting the path to /public_html/avatars users can upload their own avatars without any ‘directory not exist error’. The trouble is while the image files are successfully uploaded they won’t display. After some checking this is what I found:
/public_html/avatars works fine as the upload path.
the avatar path shown beside each userID assumes that the location of the WORDPRESS installation is the root, therefore /public_html/avatars/user.img won’t work.
if I edit the path for each user to /avatars/user.img then the avatar displays fine.
On many hosting servers PUBLIC_HTML is your root (and where I installed WordPress)
Is there any easy way to fix this? Without having to edit the path for each user everytime the upload an avatar?
- The topic ‘[Plugin: Add Local Avatar] problems with directory path’ is closed to new replies.