Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 151 through 175 (of 1,245 total)
  • Author
    Search Results
  • #263376
    staxracing
    Participant

    @danbp, thank you for your answer. I am still new to BP and WP in general, so please bear with me.

    Reproducing the issue: Well, as I wrote before, if I want to crop / flip / mirror an image through WP’s image editor on the backend, I get the message above. Tested it with Firefox, Opera, Chrome and on different machines.

    PHP version is 5.6, no idea what you want to know about the server in specific (I reffer you to my 2nd sentence 😉 )

    Again, thanks for your patience

    #262988
    Ann McGregor
    Participant

    Did you ever get an answer for this? I’ve got two members with the same problem, and I was also able to recreate it on my own old iPad. When I tried to change the picture from my iPad, the button space for upload a photo that you need to press doesn’t match up with the button. I tapped below and to the right a little, and got the popup to show up. I was able to get to the step to crop, etc.

    Went back in to try again and got an error and wasn’t able to get to that step.

    I really need to get this one resolved before we move out of beta this week!

    #262054

    In reply to: Fatal error PHP 7.1

    Paul Wong-Gibbs
    Keymaster

    Okay. The story is that PHP 7.1 is supported by WordPress 4.7 (or newer). Likewise, BuddyPress will need at least that version, too.

    We’re currently tracking some unit test failures in PHP 7.1 (see the very bottom of https://travis-ci.org/buddypress/BuddyPress), but we’ve not figured out if they are our bugs, or some bug in WordPress core. Likewise, this do_action issue might be a regression WordPress should fix instead of us (if we’re getting caught by this, I bet many other plugins are, too).

    At any rate, I’m going to try to fix the unit tests once I get a PHP 7.1 box set up (hopefully this week), and then I’ll test the basics of BuddyPress, and see what other issues crop up, and fix or report them as necessary.

    I think I’d wait a month or two to use PHP 7.1 with WordPress and BuddyPress in the wild, to be honest.

    #261161
    kellyok
    Participant

    Thanks,

    But unfortunately this does not give me an answer to any questions I have with regards to the above it just sends me to a bunch of custom code that i can add. That’s not what I am asking.

    can anyone break this down so i can understand it a little better.

    1. cover photo –

    a.where can I change the file sizes and where will i find this folder ( the link just had code for the avatar and not the cover photo)

    b.I would like to add some text prompting the user to use to add the correct image sizes for the Alternate Forum template photo and profile image from the get go.

    c. is there a crop feature for the cover photo, like there is for the over photo.

    I don;t have a deal of coding knowledge and asking for some help on where and how i should do this.

    Regards

    kelly

    #261075
    kellyok
    Participant

    Thanks for the reply, I have however looked and read over that so many times and still don’t have a clue?

    Basically When I upload a profile image from a users point of view, I don’t get any prompts on the image dimensions i need to upload.
    Change Profile Photo

    1.I click on change Profile picture. The Message reads: Change Profile Photo –
    Your profile photo will be used on your profile and throughout the site. If there is a Gravatar associated with your account email we will use that, or you can upload an image from your computer.

    My issue here is that this message doesn’t give the user the image dimensions that should be uploaded?

    2. Select File to upload.

    My issue on uploading a file that isn’t the correct size, I get this error message: desert.jpg exceeds the maximum upload size for this site.

    (again, no prompt to tell the user what image size they should be uploading.)

    when the user does find an image, they are able to crop, which is all great.

    3. The cover picture

    I am welcomed with this message:
    Your Cover Image will be used to customize the header of your profile.
    followed by:
    For better results, make sure to upload an image that is larger than 0px wide, and 225px tall.

    I would like to change this to tell them exactly what file size they should be using. also is there a crop feature for the cover photo?

    How can I edit the text mentioned above so that i can change them?. I have limited knowledge, so instructions on where to find the exact files would be of great help along with the dimensions that I need my users to use when uploading pictures.

    Thanks in advance for your help, I very much appreciate it.

    Regards kelly

    #261012
    bcanr2d2
    Participant

    I currently have used the example shown in the following post https://buddypress.org/support/topic/custom-avatar-upload-page/ and then edited bp-core-template.php to change the function that lets it know when to load the full avatar loading page.

    My issue is now that the crop image is not functioning, any help?

    #260522
    kalico
    Participant

    I solved this problem by rolling back to BP v 2.6.2. Further testing required to see if this is a bug, or a conflict with my set up.

    (Looks like I neglected to mention in my op that I was on v 2.7.0. Updated several days ago, and did not notice any issues until last night….but from the backups I’ve been looking at, it seems the problem must have cropped up immediately when I upgraded.)

    #260349
    danbp
    Participant

    The cover size is theme dependant. And for this reason, you can’t crop it like profile avatars.

    And if the user load a poor quality picture or not the exact size, it could be blured or stretched.

    #260250
    bazingauser
    Participant

    hm, don’t know if you received the previously sent image..

    bazingauser
    Participant

    profile description box

    #257197
    darkseer
    Participant

    I want to a create a profile edit page that also allows users to upload their avatar and cover image from it, I’ve been trying for a few days to get the cover image upload to work on other pages (including when i override the change change cover image with index-action-change-cover-image.php) but the drag and drop box will not appear.

    I don’t mind not including the drag and drop or the image cropping. Can anyone help me with this please?

    Can this be done using a html input element?

    #257013

    In reply to: Poor Avatar quality

    buddycore
    Participant

    You reminded me @danbp worth mentioning that if you upload a larger photo than default cropping dimensions (let’s say 150 x 150) the crop only takes what it sees in the viewport not the actual size of the image.

    So you could crop a face which is small because it’s max-width is 100% of viewport (or parent div) that translated into a small face in a 150 x 150px actual crop. Meaning the crop of a face (larger than 150 x 150) but shows at like 75 x 75 ends up looking pixelated.

    I suggest the BP Devs look at this, it’s pretty antiquated.

    #256914

    In reply to: Poor Avatar quality

    danbp
    Participant

    There is no compression feature in WP or BP. If the source file is 72 dpi, the cropped img is still in 72 px. And 72 dpi is even a poor resolution (equivalent to a 70% compressed jpeg format).

    Read again what i wrote previously.

    #256902

    In reply to: Poor Avatar quality

    3T_MJ
    Participant

    well, I did that already. The original pic is a jpg taken with a proper DSLR. But doing the same crop via buddypress and my image editing programme makes a notable difference, it’s set to 72 dpi when editing. Not sure what compression buddypress uses (0.9 or lower?) when storing the image but it seems bad. It seems worse compared to ste crop wordpress does when uploading pics. And to make it worse, the buddypress crop file size is larger compared to doing the same crop with the image editing programme – and that with lower quality. I’m devastated.

    #256887

    In reply to: Poor Avatar quality

    danbp
    Participant

    BuddyPress is not Photoshop. The cropper is only cropping, ie from too big to admitted default size.
    Size is dimension (150x150px), not quality (dpi).

    Default avatar are registered in full-size of 150×150 and 50×50 for thumbnails. Both CSS adjusted depending where the avatar is used.

    Adjusting a size from to big to smaller is generally better rendered as going from too small to bigger. But once a picture is cropped, his size fits to what is setup for default_size by WP/BP or you.

    Picture format: jpg or png ? In brief; jpg remain static, png is more elastic. But nothing to do with BuddyPress img handling displaying (avatar, covers).

    To fit img quality – from mobile to retina – you need an original picture of at least 145 dpi, what ever the size and the picture format. Actually for best quality, 300 dpi is a common usage.

    But who knows what your users upload for their avatar ? A 3mo jpeg in 72 dpi 2400 x 1850 or a 30ko jpeg in 150 dpi and 800x600px ? Or an exact and optimized (default) 150X150, jpeg/145dpi of 9 ko ?

    Frankly the only thing you can do in regard of “quality” pictures for BuddyPress, is to use the default size for avatars, eventually adjusted by a few more pixel because of your theme and available place.

    I won’t struggle much with code but inform clearly my user to use a picture of 250×250 max for custom avatar and to respect – so far as possible – the size indicated for a cover img, for which you can recommand a dpi of 150. But without any waranty they obey your recommandations.

    To adjust max cropping size, you can add this to your bp-custom.php file:

    
    /* AVATAR MAX CROP SIZING */
    define ( 'BP_AVATAR_THUMB_WIDTH', 60 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 60 );
    define( 'BP_AVATAR_FULL_WIDTH', 175 );
    define( 'BP_AVATAR_FULL_HEIGHT', 175 );
    #256881

    In reply to: Poor Avatar quality

    3T_MJ
    Participant

    thanks @buddycore but I already did that. I even uploaded a larger avatar to get it resized but not a big difference. So I assume it’s due to the image compression when cropping/resizing. When I edit the image with an image editor and replace the files created by buddypress (given the exact same names and dimensions) it looks far better then having it done with by buddypress. But that’s nothinhg members of the site will be able to do. They rely soley on buddypress.

    Is there a way to set the quality of the avatar when cropiing/resizing?

    #256856

    In reply to: Poor Avatar quality

    3T_MJ
    Participant

    Not sure if the problem is image size related or if it’s the compression set for buddypress. The crop preview looks much better than the final avatar pic! Any thoughts how to solve this?

    #256748
    rvnamb
    Participant

    Does it allow image cropping just like instagram ?

    #256582
    Stacy (non coder)
    Participant

    This is BP as I’m still unable to get any cover to upload with it saying ‘http” despite my large upload size allowance. The group user photo wont crop either.

    #255575

    In reply to: Crop cover photo

    danbp
    Participant

    Please check the forum before asking for a same question posted a few hours before yours!

    How do you setup the crop tool on the Cover Image upload?

    Closing this topic as duplicate.

    danbp
    Participant

    The cover picture is not intended to be cropped.
    When you use this feature, the component tells you which min. image size should be used. If it comes up or not is depends largely of your theme and wp settings.

    fifnicke
    Participant

    Hello Dan! Im just looking for a way to be able to crop cover images, like you can do on the profile picture. But all posts about it didnt seem to get a reply so I wrote here.

    fifnicke
    Participant

    Does this work?

    Im getting some errors on line 350, $image = getimagesize( $image );

    The page is getting stuck on cropping the image.

    #254821
    Stacy (non coder)
    Participant

    It’s also telling me the cropping doesn’t work for the group avatar photo.

    #254085

    In reply to: Wierd Buddypress Issue

    mugluck
    Participant

    Ok. So while the navigation is effectively solved by tell it to look for the wrong kinds of posts. In lieu of deleting the code entirely.

    There’s another strange issue that’s cropped up suddenly. The admin bar is vanishing. Is there a line to force it to show? It works in all the other places on the site, except the buddypress profile pages.

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