Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'crop'

Viewing 25 results - 251 through 275 (of 1,245 total)
  • Author
    Search Results
  • #183365

    In reply to: Friend request Issue!

    @mercime
    Participant

    @arturol WP/BP versions?

    I just checked the issues you mentioned as a regular user (not admin) in a site using the latest WP/Versions:
    a) Friendship Request and Accepting
    b) uploading and cropping updated avatar
    and both are working fine.

    #183332
    amckinnell
    Participant

    Hi Henry, here is the contents of that window:

    Request URL: http://photoforte.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: HTTP/1.1 200 OK
    Request Headers 12:51:58.000
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:29.0) Gecko/20100101 Firefox/29.0
    Referer: http://photoforte.com/activity/
    Pragma: no-cache
    Host: photoforte.com
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Content-Length: 97
    Connection: keep-alive
    Cache-Control: no-cache
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/javascript, */*; q=0.01
    Sent Cookie
    wp-settings-time-10: 1398959694
    wp-settings-10: libraryContent=browse&editor=html&wplink=1&urlbutton=none&imgsize=full&align=center&hidetb=1
    wordpress_test_cookie: WP+Cookie+check
    wordpress_logged_in_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5ccb9ec3cbdec1dc82a94b7ed790dd41
    wordpress_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5b043d1b070ce3f02b6457a112bdfd6a
    s2member_tracking: fnIyOk5PVFdEQUJGSk9CeFBsZ2NMV3BiN2Rna3hMQUw0aTZzOmI3ZmEwNjU4NTQ2MGE0OWNiZDlmYTJhZGE2OTIyNDQzfEKGYUXbL9qRK4qkpq9Olm8qeZTiTkNtW3IJQea7fc4a
    PHPSESSID: d3jd0dp456hmi7p57ib09rrku7
    bp-activity-oldestpage: 1
    __utmz: 82912087.1400555092.174.6.utmcsr=Photo Forté Members|utmccn=7ce74da5f7-2014_May_Lesson_Week_3|utmcmd=email|utmctr=0_76b17b8542-7ce74da5f7-
    __utmc: 82912087
    __utmb: 82912087.7.9.1401047433231
    __utma: 82912087.1423870743.1397575542.1400993272.1401047233.201
    Response Headers Δ1626ms
    X-Robots-Tag: noindex
    x-frame-options: SAMEORIGIN
    x-content-type-options: nosniff
    Transfer-Encoding: chunked
    Server: Apache
    Pragma: no-cache
    Keep-Alive: timeout=5, max=85
    Host-Header: 192fc2e7e50945beb8231a492d6a8024
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Date: Sun, 25 May 2014 19:51:50 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: Keep-Alive
    Cache-Control: no-cache, must-revalidate, max-age=0

    About your other questions, it is a total custom theme, but I haven’t made any changes to it for weeks and this problem just cropped up a couple of days ago. I know for sure it just started because I use that load more all day.

    It’s difficult for me to answer the question about whether it happens in the default theme because I don’t want to change my live site because people are using it, and when I create a staging site, the load more button works in the current theme. I cannot understand why the problem only exists on the live site and not the staging site. I am creating the staging site when I am seeing the issue, it only takes a couple of minutes to create it, it’s on the same server, but the load more button works there.

    Thanks again for your help.

    #182390
    Henry Wright
    Moderator

    Without knowing anything about your set-up or if you’ve made any customisations, my thoughts are:

    • jCrop isn’t working properly
    • CSS might be causing the problem
    • Your theme might be causing the problem
    #181891
    Matt
    Participant

    You can add the following code to your theme’s functions.php and change the crop size (FULL_WIDTH & FULL_HEIGHT, here set to 1920 x 1111) and also the thumbnail sizes to whatever you like, along with specifying maximum limits on the images uploaded.

    // Resizes avatars
    define ( 'BP_AVATAR_THUMB_WIDTH', 50 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 50 );
    define ( 'BP_AVATAR_FULL_WIDTH', 1920 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 1111 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 2000 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 819200 );
    #181832
    sunnyj
    Participant

    please somebody help me I want to remove avatar cropping process from my site. I would like to make it auto crop as it’s in userpro pluging. Thanks

    #180782

    Great Scott!

    These time issues crop up every blue moon, so any insight you can provide into the following time settings would be awesome:

    • Your physical timezone
    • The timezone setting of your server(s)
    • The timezone setting of your PHP configuration
    • The timezone setting of your WordPress installation

    Seems somewhere down the line, there’s a problem with our calculations in a certain configuration. It could be the math, could be daylight savings time, could be a WordPress bug, a BuddyPress bug, or a rip in the space-time continuum!

    @mercime
    Participant

    @cukeving Let’s keep discussion in the forums. Could be a theme issue or conflict with a second plugin. What theme are you using? Have you tried changing to Twenty Thirteen theme and checking if the same issue crops up or otherwise?

    #179205
    sunnyj
    Participant

    The more reason I would like an android app for buddypress site is in the cropping of photo when changing the profile avatar. For sometime now this has been giving me a serious headache seeing my website filled up with the default mystery avatars, I sort to find out while and the response I got from everyone was that they could not crop their images on mobile especially when using mini version of some mobile browsers like opera mini, uc browser mini and others which of course is good for minimizing data usage.Even with the normal mobile browser the experience is still very poor. It’s time the developers at buddypress take the issue of mobile version a serious issue. It would be okay if the cropping process in buddypress can automatically detect when on mobile and use the phone hardware to crop the photo before upload. It’s generally best to crop on phone hardware than on mobile browsers, beta still to auto resize and upload would be great. I pray someone can develop a plugin for this.

    #178670
    stefwilliams
    Participant

    I was having this same issue and none of the posted solutions was working. In the end, it turned out that it was because the filename of the avatar image was the problem (I presume too long).
    Basically, I was testing uploading an autogenerated filename (32203c6ae1bc3723a3432a38b1185490-bpthumb.jpg).
    This failed with the non-descript error: There was a problem cropping the avatar.
    I shortened the filename, and BAM! all works fine.
    In that none of the posts I’ve seen around this problem suggest the filename as being a problem, I thought I’d post my solution.
    (May be worth adding an error check to bp-core-avatars.php ?)

    stefwilliams
    Participant

    I was having this same issue and none of the posted solutions was working. In the end, it turned out that it was because the filename of the avatar image was the problem (I presume too long).
    Basically, I was testing uploading an autogenerated filename (32203c6ae1bc3723a3432a38b1185490-bpthumb.jpg).
    This failed with the non-descript error: There was a problem cropping the avatar.
    I shortened the filename, and BAM! all works fine.
    In that none of the posts I’ve seen around this problem suggest the filename as being a problem, I thought I’d post my solution.
    (May be worth adding an error check to bp-core-avatars.php ?)

    #178372
    siteshack
    Participant

    I think you will find that it is to do with your image naming. Try uploading a single worded image name with no dashes etc and see if the cropping tool works then

    #177965

    In reply to: Disable Avatar Crop

    Henry Wright
    Moderator

    You could try adding this to your theme’s functions.php:

    remove_action( 'wp_head', 'bp_core_add_cropper_inline_js' );

    It’s a quick and dirty approach – just removes the script necessary for the cropping to happen. You’ll still be shown the image crop step – they’ll just be no way for the user to actually do the cropping.

    Note: Untested.

    #177663
    modemlooper
    Moderator

    looks like bp_core_delete_existing_avatar isn’t firing because the file path to new image isn’t right. I’d use bp_core_avatar_handle_upload( $file ) as this will copy and resize the image for use by bp_core_avatar_handle_crop

    #177660
    David Bisset
    Participant

    Here’s the before (current avatars created the normal cropped BP way):

    https://dl.dropboxusercontent.com/u/14006840/before.png

    Here’s the after (notice the additional graphic one level up):

    https://dl.dropboxusercontent.com/u/14006840/after.png

    I’m looking over the code again top to bottom. If i understood how in this process BP knows where and what to look for in an avatar (filename wise), i properly wouldn’t be asking this stupid of a question.

    I’ll also take a look at bp_core_avatar_handle_upload ($file) as well.

    #177658
    modemlooper
    Moderator

    I would use bp_core_avatar_handle_upload( $file ) because you are not doing a import from one folder to another you are just skipping the default bp cropper.

    #177656
    David Bisset
    Participant

    The old avatar images, generated by the normal BP avatar upload process. This is for a single user (the logged in user) only. The $args array seems good before the core cropping function is called.

    #177653
    Boone Gorges
    Keymaster

    > After form gets submitted, both cropped versions of the image are put in the avatars / user_id directory.

    Are the old avatar images there too? Where are they being served from?

    #177603

    In reply to: Disable Avatar Crop

    sunnyj
    Participant

    yeah that will be great if the avatar can be auto-crop to default buddypress size without mandatory the user to do it.

    #177599

    In reply to: Disable Avatar Crop

    modemlooper
    Moderator

    Do you want avatars to be uploaded? If there is no user cropping then an image will get cropped on upload.

    #177561

    In reply to: Disable Avatar Crop

    sunnyj
    Participant

    I will like the plugin to still give the website administrator an option to allow or disallow avatar croping in any case. Thanks

    #177557

    In reply to: Disable Avatar Crop

    modemlooper
    Moderator

    Whatsapp is native and doesn’t need to deal with browser inconsistencies so you can’t really compare it to BuddyPress

    I’ll create a plugin to make the crop work on mobile and have an upload image only in browsers that jcrop won’t work on

    #177556

    In reply to: Disable Avatar Crop

    sunnyj
    Participant

    croping avatar on mobile phone not supported on all mobile browsers especially operal mini and the mini versions of other mobile browsers. Also low end smartphones cannot handle this thereby, given the user no ability to change their avatar on mobile phone.work great on PC, but as we all know these days users uses their mobile phone to access internet more than PC. It would have been great if buddypress was coded specifically to allow croping on mobile phone media library before uploading to the web just like the way whatsapp does. In whatapp user must first crop the image in media library before uploading.This is the reason why I will like disable avatar croping in buddypress avatar upload.

    #177534

    In reply to: Disable Avatar Crop

    Paul Wong-Gibbs
    Keymaster

    There is not a built in way to disable the cropping part, no. Interested to find out why you seem to want to allow avatar uploads but not let people size them?

    #177319
    Henry Wright
    Moderator

    @modemlooper

    I can’t figure out how to get this working. It’s actually been on my ‘todo’ list for weeks but I can’t seem to crack it. I even opened a bounty on the problem on Stack Overflow 4 days ago 🙂

    http://stackoverflow.com/questions/21138253/how-to-make-the-avatar-preview-image-fluid-when-using-jcrop

    Any hints on what I should be doing to make the crop preview image fluid? 🙂

    #177188
    Henry Wright
    Moderator

    @modemlooper

    Is it a CSS fix or did you make changes to jCrop? I’ve been looking through BuddyMobile but can’t find the fix?

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