BuddyPress Profile Pics - Unable to Crop

I am able to upload my members' profile pics and crop them appropriately from admin, but my members are unable to crop their own uploaded pics. The crop button is there but there is no way to manipulate the image so you just get a chunk of the picture.

I have done a lot of research on this issue and it seems to be a very common problem with reasons such as:
1. this was solved when there was an additional js file being called from the footer in the Reverie file:
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js"></script>

2. My solution, which I found some where else in this forum: I put the following two lines in /wp-content/plugins/bp-custom.php:
define( ‘BP_AVATAR_URL’, ‘http://’ . $_SERVER . ‘/wp-content/uploads’ );
define( ‘BP_AVATAR_UPLOAD_PATH’, $_SERVER . ‘/wp-content/uploads’ );

3. remove <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> from header.php

4. add the following to bp_custom.php
// Javascript conflict
function mytheme_enqueue_scripts() {
wp_deregister_script('jquery':wink:;
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js":wink:, false, '1.4.2':wink:;
wp_enqueue_script('jquery':wink:;
}
add_action('wp_enqueue_scripts', 'mytheme_enqueue_scripts':wink:;

Needless to say I have tried several of these and none of them have worked for me.

Could I ask you to help me resolve this problem please.
Attached is a screenshot of what my members see when they upload a pic and are unable to crop it.

Support Access is granted.
Thank you.

  • Milan
    • WordPress Wizard

    Hello Mary

    Hope you are well today and thanks for asking us. :slight_smile:

    I tested this on my sandbox site and can confirm that its working the way it should. So would you please start with Plugin Conflict test to be sure there isn't any culprit from plugins.

    If that does not help you, please test with WordPress standard theme. I tested with Standard theme and I am unable to replicate the issue.

    Let me know how it goes. :slight_smile:
    Best Regards,
    Milan

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.