Re: Avatar Upload Issues
Hey JJJ;
I would like to reiterate that @etiviti (rich!) posted a potential solution earlier, but I can’t figure out how/where to implement it in the bp core files.
I am having the same problem that the avatar image is not being displayed, but when checking the code, (and using firebug) it is clear there is a simple ‘/’ missing from the image url path:
PAGE SOURCE CODE WAS:
<h5>Crop Your New Avatar</h5>
<img id="avatar-to-crop" class="avatar" alt="Avatar to crop" src="wp-content/uploads/avatars/1/paul23.jpg"/>
<div id="avatar-crop-pane">
<img id="avatar-crop-preview" class="avatar" alt="Avatar preview" src="wp-content/uploads/avatars/1/paul23.jpg"/>
</div>
Notice there is no ‘/’ before the wp-content in the image src= call.
SOURCE CODE SHOULD BE:
<h5>Crop Your New Avatar</h5>
<img id="avatar-to-crop" class="avatar" alt="Avatar to crop" src="/wp-content/uploads/avatars/1/paul23.jpg"/>
<div id="avatar-crop-pane">
<img id="avatar-crop-preview" class="avatar" alt="Avatar preview" src="/wp-content/uploads/avatars/1/paul23.jpg"/>
</div>
When I add the slash in front of wp-content in the src= call, the image(s) appear. Problem is, I can’t figure out how to get the core files to display the src= url properly.
PLEASE HELP US ALL!!!