Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 551 through 575 (of 1,245 total)
  • Author
    Search Results
  • #130483
    crhennes1421
    Member

    The tool shows up and is usable but I can’t get it to select the whole image. I haven’t noticed a difference between the file size or file type when trying to do this. I’ve actually tried to save the file between two different types and still get the same result. I can upload two images to my site, one that will show the whole image when trying to crop and another that won’t if that would be helpful. I can also give you the website for you to create an account on to see if you can get it to work.

    #130482

    My crop tool wasn’t working and it ended up being an error with the way I had enqueued the scripts and a JS error. After upload I was just seeing two versions of the image I had uploaded but no crop tool and nothing was interactive.

    Be sure that jquery and jcrop are actually being called.
    And check out those type errors. It could be stoping JS on those breaks.

    I had wp-activate-users installed and there was a big typo in the JS that ended up being my main culprit for breaking a few other things as well.

    #130480

    Have you noticed a difference between the ones that crop and the ones that do not?

    File size? File type? Animations?

    What exactly happens when you can’t crop the image? Does the crop tool show up and work and it just doesn’t use your selection or does the tool not even show up?

    #130181
    Hugo Ashmore
    Participant

    No bp-custom.php has to run from plugins folder.

    As much as one would expect functions.php to be too late in the proceedings to set a constant that is read it did/does actually work for me to change my user avatars ??

    This issue of being able to effect default ‘stuff’ from themes does crop up from time to time, ideally a method that could ensure things could always be set from functions.php would be great but not sure how or if that is possible with something like Constants which by definition have to be set at earliest opportunity.

    #129783
    James
    Participant

    can it be done using these lines (?):

    `$thumb_cropped = wp_crop_image( $original_file, (int)$crop_x, (int)$crop_y, (int)$crop_w, (int)$crop_h, bp_core_avatar_thumb_width(), bp_core_avatar_thumb_height(), false, $avatar_folder_dir . ‘/’ . $thumb_filename );`

    #129735
    viktor89
    Member

    My avatar cropping is still not working. My console says:

    wp-e-commerce.js:273Uncaught TypeError: Object [object Object] has no method ‘livequery’
    (anonymous function)wp-e-commerce.js:273
    f.Callbacks.njquery.js:2
    f.Callbacks.o.fireWithjquery.js:2
    e.extend.readyjquery.js:2
    c.addEventListener.Bjquery.js:2
    jquery.cycle.all.js:27[cycle] terminating; zero elements found by selector
    jquery.cycle.all.js:27[cycle] terminating; zero elements found by selector
    /members/viktor/profile/change-avatar/:52Uncaught TypeError: Object [object Object] has no method ‘Jcrop’
    rx/members/viktor/profile/change-avatar/:52
    f.event.dispatchjquery.js:3
    f.event.add.h.handle.ijquery.js:3

    Any help?

    #129659
    @mercime
    Participant

    BuddyPress avatars have always been square since BP alpha version if I remember well :-)
    I was going to refer you to @sbrajesh but I see you’ve already posted there http://buddydev.com/buddypress/changing-default-avatar-size-croppedused-by-buddypress/

    #129591
    viktor89
    Member

    My webhost purged the cache and that seemed to solve the problem

    The cropping still doesn’t work, though :/

    #129449

    Thanks for your both late, and speedy reply. I figured I’d check back before I went to sleep, I didn’t think anyone would post so late. I was able to locate the appropriate .css files, for future reference (so no one else is confused), they are located in pluginsbp-template-pack right under my nose. I feel like a bit of an idiot now, however I managed to edit several margins that had been set to negative numbers, such as negative nineteen, which my style does not support it would seem.

    As for the Avatar cropping, I have had no luck with this. I scanned the page you linked me, changed my theme, and even disabled it entirely just to rule out that possibility all together to no avail. I did notice however, that this error message is now popping up: There was a problem cropping the avatar, please try uploading it again.

    When I attempt to crop any avatar’s for both groups and persons joining, the crop window does not appear over the picture. I can still select crop picture, only nothing happens. It grabs the corner of said image, and chooses that.

    #129448
    @mercime
    Participant

    Re: Cropping Avatars

    Change to bp-default theme and check if you can crop there. If you can, well and good. If not, check out some trouble-shooting tips https://codex.buddypress.org/getting-started/before-installing/#wp-configuration

    Re: Theme Compatibility

    First thing’s first. Before making any WP theme (downloaded outside of WP theme repository) compatible with BuddyPress, make sure that it is secure. Download the Theme Check Plugin and see if there are warnings or required generated when you run the theme check. WP Theme Repo for example only accepts themes which do not contain warnings and required items.

    I have just downloaded a copy of gamespeed per your link above and there are obfuscated code within 2 files I checked out so far – at the bottom of the theme’s functions.php file and all of footer.php file. Because of that, I can’t help you since I need all the HTML information in footer.php among other theme files for the BP Compatibility Process.

    #129436
    viktor89
    Member

    Also, the crop profile picture after upload doesn’t work.

    Any help and suggestions very welcomed! Behind schedule because of this hickup :/ Thanks in advance! :-)

    #129307
    pachoolee
    Member

    Crosswider, I fixed mine.
    I also don’t have a BP theme, I used the BP template pack plugin.
    I read where this image cropping issue often happens with a plugin conflict.
    So, I first deactivated all my plugins (except BP), and voila! the crop worked.
    I then systematically reactivated the plugins until I found the culprit.
    In my case, it was the BP mobile plugin. It was an easy fix in my case, b/c BP mobile had an option to “lazy load images”, which loaded a conflicting jquery file. I just unchecked the option and everything worked fine.
    I hope you can use this method to find your culprit too.

    #129296
    crosswider
    Member

    Thank you Pacholee, let’s hope somebody will find the solution!

    #129292
    pachoolee
    Member

    crosswider,, I feel your pain…
    I can’t get the crop tool to work either.
    I have the template pack installed, and followed all the instructions to a tee (which is the fix I saw recommended.)
    Everything else works pretty well.

    #129248
    crosswider
    Member

    Forgot to say that my GD Library is installed.

    #128475
    @mercime
    Participant

    You might want to check the custom community forums to check if such issue has cropped up and any solutions or if no such issue was brought up, post in that forum about your issue.

    If you want to check if the issue is corrected using bp-default theme, backup your database where the custom community theme’s options are stored. Then change to bp-default theme and check if you can post updates without issue.

    #127928
    username_
    Member

    Hey @r-a-y , Thanks! I’ll look into that. Very helpful info!

    I had a quick question…
    I am on the newest upgrade of buddypress and like I mentioned above, I am trying to customize the registration page to have more like a 123 step process. In that I am trying to bring back the avatar upload on the third step. I got some code to get the user to select an avatar and then crop it correctly ( im using the code from the profile avatar page) . But I can not seem to bind the newly uploaded avatar to the user. Once I log in with the newly registered user he does not have the new avatar. Do I need to log the user in or something in order for this to work properly? But if I log him in it redirects me away from the register page, which makes sense but not what I want.

    Thanks again.

    Aaron

    #127294
    enderpal444
    Participant

    Bump..really need help with this

    #126692

    In reply to: Bugs With BuddyPress

    rich
    Member

    @mrandrewaustria – i’d suggest a more positive approach over the above reply.

    if you can reproduce the issue consistently (via bp-default theme and disabled third party plugins) – create a trac ticket with the steps/details. I doubt the main developers are looking downward on people reporting issues (why would they?)

    if the crop/favorite actions are not working – sounds like a javascript issue

    for email – there are several action and filters hooks to use and different ways (client side or extend a custom register page)

    #126364
    sdls
    Member

    I’m coming across the same barrier… Pulling the group image at different sizes is fine, however when you try and modify the group avatar size from the group admin perspective, it get’s a bit tricky. Try and upload and small icon for a group and you will notice it puts the little logo on a black background and resizes it akwardly.

    Looking for something to hook onto to modify this setting and I can’t see anything pertaining to size in the BP template set

    `

    <input type="submit" name="upload" id="upload" value="” />

    ‘delete_group_avatar’, ‘component’ => ‘groups’, ‘wrapper_id’ => ‘delete-group-avatar-button’, ‘link_class’ => ‘edit’, ‘link_href’ => bp_get_group_avatar_delete_link(), ‘link_title’ => __( ‘Delete Avatar’, ‘buddypress’ ), ‘link_text’ => __( ‘Delete Avatar’, ‘buddypress’ ) ) ); ?>

    <img src="” id=”avatar-to-crop” class=”avatar” alt=”” />

    <img src="” id=”avatar-crop-preview” class=”avatar” alt=”” />

    <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="” />

    <input type="hidden" name="image_src" id="image_src" value="” />

    `

    Any thoughts on how to modify size, right from the upload process?

    #125810

    Well… the images are in the wp-content/uploads/avatars/19/ (“19” for example) but the don’t come up if i enter the url… http://www.mydomain.com/wp-content/uploads/avatars/19/image.jpg – I figured that was because of some permission thing… But they are confirmed there via ftp. They also appear to be cropped . The problem is that the image won’t show and the text that replaces it runs past the and outside the image borders (looks bad). I get a green “Your new avatar was uploaded successfully!” message… no image.

    I did install a facebook widget earlier but I can’t say if thats the cause of this or not. The widget was called… Like Box Widget for Facebook – (I have since deactivated it!) I created 2 new groups yesterday and there was no problem uploading/cropping the group avatars…(no new group avatars either). But, every avatar thats been uploaded prior to today is still there and works fine… thank god. Just can’t figure out why no new avatars work???

    I am a total wp and bp novice, and don’t have a clue where to begin to fix this.

    #124584

    Hi Fraser,

    You should be given a crop screen after uploading your avatar where you can drag a square over the portion of the image you’d like to use.

    If this is not the case it sounds like an issue with the theme you’re using – you’re best getting in touch with the people that developed it. Alternatively you can activate the default buddypress theme and try to customise that to suit your needs.

    Hope this helps,
    Laurie

    #124443
    Andy Whittaker
    Participant

    Hi Mercime

    Thanks for getting in touch. I updated the BP Template and now it works fine. Thanks for your help.

    justbishop
    Member

    Nevermind, did it, and your 2nd query worked like a charm, @boonebgorges! Thanks :)

    P.S. I did make a db backup, and will hang onto it just in case some wonkiness that I’m just not seeing yet crops up ;)

    #124125
    @mercime
    Participant

    – Did you also upgrade to latest BP Template Pack plugin for your custom WP theme?

    – Have you changed to bp-default theme and checked whether same behavior applies? Or does it only happen when you have your WP theme with BP Template Pack?

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