Content
Pages
Categories
Search
Top
Bottom

### Re: bp_core_avatar_v1 returns local path to avatar

Participant

@williamsba1

Well I found the problem, now trying to figure out a good solution.

The form field orig on the final crop page holds this value:

<input type=”hidden” name=”orig” value=”Websitesdirectory/wp-content/blogs.dir/1/files/avatars/1//logo.png” />

Which is correct. When the value is posted and displayed it comes out like this:

\Websites\WebsitesPHP\directory/wp-content/blogs.dir/1/files/avatars/1/logo.jpg

For some reason posting that value is adding an extra backslash to each backslash in the URL.

Working on a solution now