• Here is my testing page that relates to al info below.

    I changed Line #144
    FROM THIS: $bpxp_field_value = WP_CONTENT_URL . $raw_field_value;
    TO THIS: $bpxp_field_value = WP_CONTENT_URL .’/uploads/’. $raw_field_value;
    That fixed the images to now show up on Front End Profile–>View page.

    Then I changed Line #173
    FROM THIS: $image_link = WP_CONTENT_URL . $image;
    TO THIS: $image_link = WP_CONTENT_URL .’/uploads/’. $image;
    That fixed the images to show up in WP backend Users–>Extended Profile
    In the Users–>Extended Profile there are duplicates of each Image Field. My example has 3 Image upload fields (See Screenshot).

    …and for some reason only the Bottom duplicate image upload works.

    also, I can ONLY use the Backend Bottom duplicate image to upload images. The Front End image upload does not work and will also erase any previous image.

    One last note: this is the code i am using to display the images within each members Profile Header area (member-header.php)

    <img src="<?php $upload_dir = wp_upload_dir(); echo $upload_dir['baseurl']; bp_member_profile_data('field=Organization Image 1');?>" ?>

    PLEASE HELP. I’m no coder and i’ve hit my mental limit on what to do next.

    https://www.ads-software.com/plugins/buddypress-xprofile-image-field/

Viewing 1 replies (of 1 total)
  • I did this in BuddyPress 2.1.1.and all I get is a broken image link on the profile page. I checked the uploads folder and everything was there. Any idea on what could cause this?

Viewing 1 replies (of 1 total)
  • The topic ‘so close to working after a few fixes.’ is closed to new replies.