• Resolved jonatang

    (@jonatang)


    Hello,

    I’ve been trying for hours to solve this matter but could not find a solution. A lot of topics refer to a similar issue but none is bringing a suitable solution for me.

    When I upload a picture in the profile form (a simple one that is not cropped), it works perfectly. When I want to add a profile or cover picture though, after setting the crop perimeter, the button turns to “processing” and nothing happens anymore.
    The picture is well located in wp-content/uploads/ultimatemember/[userid]/ so it’s not a matter of permission.
    The temporary file is well located there but apparently it’s really the cropping process that fails (it doesn’t generate a cropped picture).

    GD and Imagick libraries are normally well installed (but I can’t certify 100%, at least with apt I see they are installed).
    BTW it’s a multisite environment.

    Thanks for your help!
    Jonatan

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jonatang

    it doesn’t generate a cropped picture

    1. Cropping requires a lot of memory so first step should be to Increase Memory.

    https://docs.ultimatemember.com/article/200-increasing-the-wordpress-memory-limit

    2. You can try to install this code snippet to verify that you have the cropimage function included with your GD library. Install into your active theme’s functions.php file or use the “Code Snippets” plugin.

    add_action( "um_install_info_after_page_config", 'um_gd_library_settings', 10, 0 );
    
    function um_gd_library_settings() { ?>
    
    --- GD Library Configuration ---
    
    GD Library imagerotate     <?php if( function_exists( 'imagerotate' ))  echo 'yes' . "\n"; else echo 'no' . "\n";?>
    GD Library imagecrop       <?php if( function_exists( 'imagecrop' ))    echo 'yes' . "\n"; else echo 'no' . "\n";
    }

    You will find two lines about GD library function status in the UM Settings -> Install Info. You can show us the content of “Install Info” here in the Forum using the Forum CODE formatting.

    3. If you have a plugin conflict or PHP error when using the cropimage function enable PHP error logging and post any content from the ...wp-content/debug.log file here in the Forum.

    https://docs.ultimatemember.com/article/1751-enable-debug-logging

    Plugin Support andrewshu

    (@andrewshu)

    Hi @jonatang

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Picture upload stuck at “processing”’ is closed to new replies.