Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 1 through 25 (of 1,245 total)
  • Author
    Search Results
  • #337272
    karend1349
    Participant

    Crop image for any photo only lets you use crop view but you can not even change the crop view? Noticed this in all groups and profile photos — they dont have flexibility to actually crop to area you want as it freezes on one spot. Does anyone have any advice?

    #336778
    David Wickstead
    Participant

    Within the profile when logged in the user can select and add their own cover image. This will allow all users to have their own unique cover images.

    You might want to make sure your images are not too big and the correct proportions otherwise they will be cropped. Depending on your theme this size might vary but a good starting point would be 1350px wide and 350px tall or for full screen width 1920px x 640px.

    #336724
    emaralive
    Moderator

    Hi,

    I’m not sure how soon the BP Team can address this anomaly. I’m not sure what you meant by “crashes“, so perhaps further conversation regarding this term is warranted as in; what is your definition of “crashes“?.

    That said, what I am able to ascertain is that with “Modern Image Formats (v 2.5.0)” installed and activated, any attempt to upload a profile image (avatar) results in a user defined error message of:

    There was a problem cropping your profile photo.

    Additionally, depending on which PHP version is installed, e.g. v8+, additional observations are:

    • PHP errors may be observed (v8.0.30)
    • Cropping bounding box may be missing with the crop window limited to the upper left quandrant (v8.0.30 & v8.1.31)

    All I can say, at the moment, is that this anomaly is under investigation and may require more information from you.

    #336547
    giszech
    Participant

    Hi support team,
    I’ve allready asked you few monthes ago – you told me “all is ok” – but I still cannot crop a profile photo. I hoped that the issue would be solved by itself with updates – but it did not.
    Please try it yourself – https://members.life-science.eu

    I have the AVADA 7.11.14 theme, but I am worry to switch to the twenty twenty five because I will not crash the whole WebSite.
    Buddypress 14.3.3
    Wordpress 6.7.2

    You also told me it’s a problem of AVADA and AVADA told me it’s a problem of BuddyPress. I guess you understand – this doesn’t help me.
    Thanks in advance
    Best wishes

    #336219
    videowhisper
    Participant

    You could take a look at this free plugin we’re developing: FansPaysite MicroPayments https://wordpress.org/plugins/paid-membership/ .

    Flexible Monetization: Offer creator subscriptions, pay-per-view content, and memberships tailored to various creator needs.

    Direct Content Sales: Creators can directly sell access to posts, videos, downloads, live video streams, enhancing revenue opportunities.

    Versatile Payment Integration: Supports all major gateways with WooCommerce, including PayPal, Stripe, CCBill for broad accessibility.

    Reduced Transaction Fees: Streamline finances with microtransactions that cut down on costs.

    Dynamic Wallet System: Enables secure, in-site transactions with internal credits and support for other popular wallets like TeraWallet and MyCred.

    Enhanced User Engagement: Features like crowdfunding and donations add interactive elements to content monetization.

    Comprehensive Admin Control: Manage access, monitor transactions, and customize content offerings with ease.

    BuddyPress Integration: Enhances community features, allowing for real-time updates and user interactions within the platform.

    #334809
    emaralive
    Moderator

    @whyknott I would have posted this sooner, but I was looking into the relationship between the BP_AVATAR_ORIGINAL_MAX_WIDTH CONSTANT and cropping preview area, which requires a deeper dig into this process. Neither here nor there, as previously mentioned, I don’t recognize any of the filters that end in ‘_resize_args’ and AFAIK, there are technically 2 (two) but the one I used has the hook name of:

    bp_after_attachment_avatar_edit_image_parse_args

    To elaborate further, there is a bp_before_..._parse_args and a bp_after_..._parse_args, FWIW. Moving along, your custom_bp_avatar_quality callback function should work with this hook, IOW use the following to set the resize quality for Avatar:

    add_filter( 'bp_after_attachment_avatar_edit_image_parse_args', 'custom_bp_avatar_quality' );

    This should remove any questions or concerns about the jpg/jpeg compression level, i.e., “quality”. assuming that a value of 100 is used for resize and crop. If the Avatar is still “horribly blurry” or utilizing your new term “lousy” then the issue resides elsewhere, e.g., scaling/zooming the Avatar to something greater than 100%. Since I don’t know your scenario/situation, I’ll stop at this point.

    #334798
    Varun Dubey
    Participant

    @whyknott @thinlizzie avatar and cover images are not included as media attachments; the thumbnail generator plugins will not affect them. Avatar and cover image cropping are done when uploaded; any custom script will work only for new uploads.

    #334787
    emaralive
    Moderator

    Currently, there isn’t any updated documentation regarding Avatar’s. There is some outdated info/documentation which is missing some information and is inaccurate with other information. A goal of the BuddyPress Team (BP) is to make documentation available that is current and accurate. That stated this will be on my TODO list to release documentation regarding Avatars, although what I’m covering here would be considered a “developer” handbook chapter.

    In the meantime, there are a number of CONSTANTS that define the size (Width x Height) of various aspects of an Avatar, some of which you already know. There are other parameters that specify the “quality” during a resize and/or cropping process and these processes utilize WordPress to accomplish these tasks.

    For example the CONSTANT – BP_AVATAR_ORIGINAL_MAX_WIDTH – default set to 450 – triggers a resize of an uploaded image that exceeds the size defined by this CONSTANT at a “quality” level of 90 (default). In your case, the 610 x 610 image is resized to 450 x 450 at a “quality” level of 90. Assuming defaults for thumb (50) and full (150) the image (450 x 450 @ 90) is cropped based on the cropping boundary box to the sizes for thumb and full at a “quality” level of 82 (default). In this example, your 610 x 610 image has undergone 2 processes that has reduced the “quality” twice.

    To mitigate the degradation process, you could set BP_AVATAR_ORIGINAL_MAX_WIDTH equal to or greater than 610. The point being this would be the max width size before triggering a resize. This now leaves the cropping process at a “quality” level of 82, of which, you could mitigate by setting the JPEG “quality” level to something greater than 82 (max would be 100), assuming that you are uploading a jpg/jpeg image. This is defined at the following URL:

    jpeg_quality

    I’ll assume you know how to create a filter with a callback to return the desired “quality” level. Whether what I’ve outlined will satisfy your requirements for not being “horribly blurry” is yet to be determined because there may be another reason for “horribly blurry” and this just represents another “process of elimination” step/stage.

    #334779
    emaralive
    Moderator

    Hi @whyknott,

    I’m a bit confused because I’m not sure what you mean by:

    I need to change the quality of the images to 100%

    Is this in reference to the JPG compression value? Additionally, I find this confusing, as well:

    How do I tell BuddyPress to use the full image size and just scale it down to fit the image size vs. using the thumbnail size

    As your code snippet indicates, there are 2 (two) image sizes (full & thumb) for Avatars and the default sizes are 50 x 50 for thumb and 150 x 150 for full, both are in pixels. So, if you wish to change the sizes, then you need to change the numeric values to something other than the default values. These are the sizes after a crop of the original image.

    To help clarify some things, what is the size (width x height) of the original image that you are using to upload as an Avatar? Let’s start here and see if we can find a solution to your “quality” issue.

    #334328

    In reply to: RSS bug

    thinlizzie
    Participant

    Same issue cropped up for me three years ago …
    I chose to simply hide the RSS feed button…

    Add CSS to Customiser …

    
    .feed { display: none !important; }
    
    jiyaweb
    Participant

    i want to add crop option in add cover photo. or cover 1350*350 photo drag up down option so user set photo . how to set. ?

    #333144
    kmp2
    Participant

    The single post layout is clearly a mistake.

    After you have set your site for two sidebars, it’s deformed to force the blog to show one or none, no two-sidebar option on the single post, as logically there should be.

    It crops the featured image, I don’t want my images to be cropped. I want two sidebars at all times, featured image not cropped, on top of the text and the text full-width of the image. There is also a lot of excess space around the various single post layouts that looks like a mistake and should be tightened up. Why would I want a theme with two sidebars, only to lose that with the single post?

    Single Post Content Width setting clearly does not work, it shows text the same width as the header; but in action, the text remains a long narrow column.

    I’m shelving this project, it’s a waste of my time, and I don’t have thousands of dollars to hire developers to do it right. Also note, I already got scrooed by Envato Theme Forest after paying $100 CAD for a social theme that was delivered BROKEN, and they refused to fix it, and it took a month of dealing with their abuse to get my money back from Paypal.

    I have also already PAID hundreds to the Peepso crowd including installation fees; and that theme is a piece of crap with no font controls. So, I’m not in the mood to start BUYING more themes to try. Goodbye, project. Fini.

    #332614

    In reply to: BuddyPress 12.0.0

    lmstearn
    Participant

    Hi Mathieu, tried it, no change unfortunately. This looks like the wrong item for the topic anyway, as the file /bbpress/includes/extend/buddypress/members.php doesn’t have any pagination code at all. Consequently a bug for some unknown length of time.
    Might the issue be better posted at the bbPress site?
    Another issue cropped up with the display of recent posts in a member’s group activity tab. A bbPress (not a BP group) private topic was created and was correctly showing in the group activity posts. The title and body of the content were later edited, and although the content of the post in the group activity tab didn’t change to reflect the edit, (even when the page cache was purged), the topic title did match the last edit.
    Thanks.

    #331933
    lucasfpaixao
    Participant

    Hi, I need help to find out why “Extended Profile” fields cannot be editted (I think you guys call it “xprofile”).

    I can type on the fields normally, but it does not actually save the data after hitting “Update Profile” button.

    I’m dealing with this for two days. I already searched online but I cannot find anything useful for this case. I’m afraid I’m out of ideas.

    Here’s what I already tried:

    The system uses an external mySQL on a VPS server and the WordPress files are hosted in another web server.
    I was dealing with lots of “Got an error writing communication packets” found in the error.log of the mysql server. The website seems to work fine despite of that and the lack of extended profile update abillity. This problem seems to be solved after increasing buffer sizes of the mysql server. But I still cannot edit Extended Profile data. It does not work as admin nor as the user.

    I already disabled every single plugin to check if there is some plugin conflicts.
    I already clear the all the caches using LiteSpeed Cache Plugin.
    I already increased buffer size on the mysql server and restarted it.

    The wordpress database seems to be very big and I have a felling that something is wrong with it.

    There’s some information on the Chrome Developer Console on the “extended profile” backend:

    Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks,utils,moxiejs,plupload,jcrop&ver=6.4.1:5 JQMIGRATE: Migrate is installed, version 3.4.1
    hello.min.js?ver=2.4.50:1 Uncaught TypeError: Cannot read properties of null (reading ‘classList’)
    at HTMLDocument.e (hello.min.js?ver=2.4.50:1:157)
    57superpwa-sw.js?2.2.20:80 SuperPWA: Current request is excluded from cache.

    PS: SuperPWA is already disabled and deleted from this system.

    paginaswebea
    Participant

    If there is also a way to disable cropping when uploading, I would be highly interested as well.

    paginaswebea
    Participant

    Hello BuddyPress,

    First of all thank you for your work on creating the plugin.

    Second, I have a problem with a client’s website I’m currently building. We have run into an issue that when, uploading avatars by mobile, it compresses down the picture so much that it becomes blurry. It is not because of the image used. I have made sure I’ve uploaded a huge resolution photo to discard that.

    Where I see the problem is, BuddyPress somehow compresses the image to make it fit the phone screen, (it maybe makes it 150×150 for what I’ve read so far in the documentation), and then gives you the option to crop the image.

    The expect behaviour should be that the image retains the original “full” size, but shrinks down so it fits the mobile screen and you can crop/select whatever you desire.

    I hope I am explaining myself.

    I see that this bug is not new and has been around for several years, and so far, I haven’t been able to find any fix other than what is explained here, but then it stops the image from being responsive. (Anything further than 600 breaks the image hence you can’t see what you’re cropping).

    Changing default avatar size cropped/used by BuddyPress

    Is there a way to fix this, so the image retains the full quality when uploaded? I’ve set in place filters to retain 100% of quality image so wordpress doesn’t reescale them either (But you can give me more tips regarding this as well). An alternative solution would be to just disable the cropping part when uploading avatar.

    Currently I’m using the theme called Gwangi, but it doesn’t matter, because it also happens with Twenty-Twenty-One, and the forked version of buddypress Buddyboss. I’m guessing all the webpages built with buddypress have the same issue, as the ones I’ve checked so far run into the same problem. I’ve disabled CDN and everything else that could cause caching and rendering of images.

    Thank you for your time.

    #331411
    matterdesign
    Participant

    Hi all,

    I found a quick fix in the Settings > Media.

    Admin – is this something that can be looked into?

    screenshot-sketchingnow-com-2023-09-27-17-21-25

    When unclicked (Crop image function not working)
    When clicked (Crop image function working)

    #331136
    rgraulus
    Participant

    I found the solution for this problem. SiteGround, the hosting company for my website, uses lazy loading feature as part of their SG Optimizer. After disabling this feature I was able to crop and upload profile pictures. Problem resolved!

    #331104
    rgraulus
    Participant

    I can upload profile pictures from my computer but the image is always cropped in the top left corner of the picture. The crop image feature doesn’t work. I’m using WP v6.3.1 and BuddyPress Version 11.3.1.
    How do I fix this issue?

    #330816
    AWOL
    Participant

    Hi @imath,
    I don’t know if one of the below might be related to what @vapvarun posted, but in my early testing of 12.0.0-beta1 (with latest WP and using Blocksy theme and Nouveau) there are a few things cropping up; firstly I don’t seem able to customise the css by duplicating Nouveau’s css in my Blocksy child theme folder, either inside a buddypress folder or just in the child theme folder, and can only achieve changes in my child theme’s style.css (I suspect this is unrelated to the new Buddypress but I haven’t yet tried it with Legacy); secondly, it doesn’t seem possible to add a main menu link to the currently logged in user that is visible at all times – I have created a custom link but it only appears in the menu when viewing the various sections (i.e. Profile, Activity etc); thirdly, I was struggling to add a sidebar to any of the BP pages, even though my default Blocksy setting is for each page to have one, and discovered that (in Blocksy at least) in Customizer it is counting BP pages as Blog Posts, whereas intuitively I would have thought this should be set in the BP specific sections, and without extensive css work means that Blog Pages and BP pages will always have to be the same. Are you considering adding/improving what can be done in the Customizer at some point? I have found I have to make an awful lot of CSS edits anyway to get BP to match my colour scheme and preferences in previous versions of BP and it would be a huge boon if at least some of this can be achieved with the Customizer settings (or a settings page in the plugin). BP has never followed my theme defaults, but I don’t know if that is because of the theme (and the two standard BP templates) I use or if it is like this for everyone.

    #330456
    mktzetra
    Participant

    I can’t change the avatar image. Whenever I go to put an image, it tells me to cut it and after that the following message appears: “There was a problem when cropping your profile picture.” I already removed all the plugins and the theme leaving only the buddypress plugin and still the same error appears. Any solution for the problem?

    #330320
    mktzetra
    Participant

    Hi, i cannot upload avatar either for profile or groups as its says
    There was a problem cropping the photo.To use the option to take a picture with the camera gives the same problem

    merce01
    Participant

    I will use a file outside of WordPress in php to change the photo via ajax using a url

    how to proceed?

    
     $res = bp_attachments_create_item_type( 'avatar', [
        'item_id'   => 1,
        'object'    => 'user',
        'component' => '',
        'image'     => "https://meydomain.com.br/wp-content/uploads/avatars/11/1680022705-bpthumb.jpg",
        'crop_w'    => 300,
        'crop_h'    => 300,
        'crop_x'    => 0,
        'crop_y'    => 0,
        ] );
        
        if($res) {
            echo 'ok';
        }else echo 'not ';
        print_r($res);
    

    return : not

    #328881
    noseknowsnonotes
    Participant

    No matter what I try, Buddypress has layout issues (tried disabling any cache/minify options and plugins, tried buddybuilder for elementor, other plugins, all have issues).

    The main issue is the profile photos. There’s only a box to drag photos, not to click and select them and there’s a ‘{{data.filename}}’ under the box. see image.

    When I drag a photo there I get a crop box + a smaller crop box underneath and no options to save it. see image.

    #328698
    geepers
    Participant

    this shows the resulting cropping area - in reviewing the source code, the image itself is actually uploaded

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