Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 176 through 200 (of 1,245 total)
  • Author
    Search Results
  • #253306
    dcrowe
    Participant

    I am having the same issues. I can upload and set the crop marks but then when I click save I get “There was a problem cropping your profile photo.”

    I have updated buddypress and bbpress, made sure my file permissions on the avatar and uploads folder are set to 777

    No clue why this is happening.

    #252954
    OsamaNuman
    Participant

    Hello,

    Sorry for late reply, but I have been in contact with my theme developer and he shared a photo of errors showing … can you please tell which error is preventing the cropping tool from showing?

    image:
    https://www.dropbox.com/s/po4t61787z5m1tz/11271-1461742266-13112550_834012170076231_975052172_o.jpg?dl=0

    #252563
    danbp
    Participant

    Hi,

    you say Cropping Tool not showing… you omited to say with your theme.

    Have you tested with Twenty Fifteen ? If the tool appears with Twenty, you’ll need to adjust your theme or ask his author for support.

    f you’re confortable with CSS, maybe you can use Firebug to get some precious information to help you doing that adjustment.

    #251217
    WalkerDesign1
    Participant

    Figured out the problem. The file name for the profile image was too long. It needed to be shortened. Upload and cropping is working great.

    #251216
    Henry Wright
    Moderator

    The PHP version you’re using shouldn’t matter unless it’s < 5.2. Also JavaScript is responsible for the actual cropping. I’m guessing you’ve either modified your template in some way or are using some conflicting JavaScript elsewhere?

    WalkerDesign1
    Participant

    I currently have BuddyPress Version 2.5.1 installed and I am uploading an avatar to the members profile. The avatar uploads but I receive the error message – There was a problem cropping your profile photo. And then the upload fails.

    I am running PHP Version 5.4.43 with the current host.

    Does anyone know if this is a php version issue or if there is another fix for this issue?

    WalkerDesign1
    Participant

    I revised bp-custom.php to have the following code –

    <?php
    // hacks and mods will go here
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 );
    add_filter( ‘bp_do_register_theme_directory’, ‘__return_true’ );
    ?>

    By changing the line – define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 ); to have the numeric value of 20000 it now allows me to upload an avatar image.

    But now it will now allow me to crop the image.

    Error message reads – There was a problem cropping your profile photo.

    #251186
    rbaccaro
    Participant

    Update 3, correction:

    The crop did not work for files which contains -bpfull in his name.

    For example, if you download your avatar, and try to re-upload, the crop will not work.

    #251185
    rbaccaro
    Participant

    Update 3:

    The crop did not work with files with a wrong permission.

    #250389
    Paul Wong-Gibbs
    Keymaster

    I ran into this recently. I’m not sure what we need to do – I think we need to change the cropping logic, and also end up with a bunch more versions of the avatars.

    I’m not sure when we might get to improving on avatars in this way.

    #249880

    In reply to: import avatars

    Slava Abakumov
    Moderator

    But there are bp_before_bp_attachment_crop_args_parse_args and bp_after_bp_attachment_crop_args_parse_args filters (search for 'bp_attachment_crop_args' string).

    So you can hook there and modify $args['dst_file'].

    #248972
    Slava Abakumov
    Moderator

    What about default WordPress cropping? Does it work? Maybe the problem is in the access permissions to /uploads directory.

    Other possible issue – do you have PHP image manipulation modules installed and activated?

    #248646

    In reply to: Disable avatar crop

    Blogpostnews
    Participant

    My buddypress image/avatar editor does not scale before it crop images. It upload image/avatar but in a full zoom and doesnt show scaling box. it just show crop image only and when i crop, it delivers the image background only, leaving out the object in the picture.
    No scaling box to edit image before croping.

    On the other hand, i was able to scale/edit the image using wp editor in user profile on admin bar and my admin bar is disabled to other users.

    Please i need help with this as it affect other users.

    Thanks

    #248236
    sakthi31
    Participant

    As an update, when new UI is disabled, the jcrop css and js are loaded without any problems.

    However, when I open the console, it says ” JCrop is not a function”.

    Something is disabling JCrop function or it needs to be enabled through some specific function?


    @imath
    please provide some suggestions to troubleshoot.

    Tried the following: inactivated all the plugins; tried loading avatar.css and avatar.js files

    #247769
    mcpeanut
    Participant

    Hi @imath, I have tried out this plugin and really like it, as was already mentioned in the original question it would be better if users could reposition the image, this way you would not have to worry about what size of image was uploaded, if users were able to select which part of the image should be visible this would stop the auto cropping and make sure users get to see the part of the image that they choose.

    #247768
    joesegal
    Participant

    Thanks. Oh joy! πŸ™‚ Why cant someone invent a plugin to spot conflicts in plugins or something! Thanks I’ll do this tomorrow.

    By the way it would be nice if the group cover process lets you crop an image you upload too or something.

    Thanks again!

    #247767
    Henry Wright
    Moderator

    You did the right thing by deactivating all plugins and then reactivating each one to find the culprit. Try doing that again, but this time refresh and test cropping after each plugin activation. The very moment cropping stops working, bam, you have your culprit πŸ™‚

    #247765
    joesegal
    Participant

    Thanks @henrywright
    I have the Divi Theme activated.
    WP 4.4
    latest BP 188
    about 18 plugins activated.
    I deactivated all the plugins.
    Cropping worked.
    Reactivated each one by one.
    Cropping still worked.
    All of them!
    Then I refresh the page on the group avatar editing page and bam, not working again.

    wtf I dont get it?

    Also Im using a plugin called Buddypress Docs its like a Wiki plugin and the Visual editor doesnt work now in it just the text editor. Maybe thats related?>

    Is there a way to easily get a list of plugins I’m using to show you/others?

    #247761
    @mercime
    Participant

    @nattlyharris Required JS enqueued by BP including jquery.Jcrop.min.js are missing from source code caused possibly by a plugin. I think one culprit is the bj-lazy-load plugin but to be sure, deactivate all plugins except BuddyPress and check if you can crop the avatar. Then activate plugins one by one to see which is/are causing the issue.

    Edit – took too long to answer. didn’t know henry already posted.

    #247731
    nattlyharris
    Participant

    I’ve subscribed to this topic – my users are having the same problem – unable to crop picture, instead the top left corner of the image is automatically selected and no other options given.

    Nat
    http://www.lympstonesailingclub.co.uk
    Thanks x

    #247549
    Henry Wright
    Moderator

    I very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports

    That suggests your import script is the issue. Which script are you using?

    #247546
    reedy
    Participant

    I very much doubt my install has been compromised. In fact, searching through the buddypress support forum it seems this is an issue that crops up after imports – so I believe there is probably something in the core code doing this.

    A couple of examples:

    https://buddypress.org/support/topic/post-migration-constant-user-email-notifications-for-mentions/ @zane

    https://buddypress.org/support/topic/mass-notifications-of-old-mentions/ @halo-diehard

    Disabling my mail server is not a practical solution. For now I will just have to block all email notifications for mentions until (hopefully) a solution is found.

    Pssst @netweb – are you still around?

    #247497
    operapreneur
    Participant

    Still looking for any direction or examples where I can create a separate page (outside of the BP member registration or member profile) where members can upload and crop there avatar using the new BP_Attachment_Avatar introduced in 2.3.

    The most help/up-to-date info seems to stem from this post.


    @imath
    Would you be able to point me in the right direction? What is restricting the avatar from being uploaded on a page outside of the member profile?

    Thanks!

    #246082
    Travis_98
    Participant

    Thank you mrjarbenne, I appreciate the advice and will keep that doc in my back pocket through this adventure. And thanks for pointing me in the right direction with the above suggested IIS link.

    I am pleased to report that my BP links are now working. Here is what I did and where I got stumped initially:

    Using Windows 2012 R2 server with IIS manager to setup a local intranet.

    So I created a site called “Test” and here is what happened:
    1- I followed the direction in the link provided above by first taking Permalinks off of Default and using the suggested custom structure.
    2- I created a web.config file and placed it in the wwwroot folder (same top level as the β€œTest” folder).
    3- I copied the code from what was suggested in the link:
    `<configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name=”Main Rule” stopProcessing=”true”>
    <match url=”.*” />
    <conditions logicalGrouping=”MatchAll”>
    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
    </conditions>
    <action type=”Rewrite” url=”test/index.php”/>
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>

    Two differences with what was provided in the link and what I used above in order for it to work for me:
    1- I placed it within the <system.webserver> container. Not a coder, so not sure if this mattered or not.
    2- I correctly entered MY FILE LOCATION to the index.php file (test/index.php)

    At this point, I have links that are working. That’s a win and it’s on to the next challenge in order to use BP. Totally stoked now. Having some issue with the profile/avatart pic not appearing in order for the user to crop, but that is likely another topic to search or create πŸ™‚

    Thanks!

    #245165
    mrjarbenne
    Participant

    Have you attempted to deactivate all of your plugins as well to see if there is a culprit there? Usually Adminbar issues crop up if the <?php wp_footer(); ?> tag is missing. Usually this is a theme thing, but on occasion a poorly coded plugin can create a similar error. Given that the issue seems to be role-based, that might indicate it’s a plugin trying to do some funky things based on user-role.

Viewing 25 results - 176 through 200 (of 1,245 total)
Skip to toolbar