avatars upload but cannot be cropped etc
-
Hi all,
Using WPMU 2.6.3 with BP trunk-r571 on Firefox and IE7.
After uploading an image at the change-avatar script, on the next page I see the image and below it the text “Crop Preview” with a Crop & Continue button, however none of these are hyperlinks, and I can’t actually crop the image.
Is this a bug/known issue or am I missing prerequisite software for my server?
Thanks
-
Permissions look OK. To be clear, the problem is that the image appears but the cropper doesn’t display.
I and others have had problems with non-bp plugins/widgets loading older vers of js libs and causing whacky conflicts. Anything else using js?
Does the cropper.js lib use cookies to store temp info? I know something in the realm of all this js does. Can’t remember what though.
Now that I’m looking at it, the cropper.js lib has a companion cropper.css file. You getting that. Got firebug? Go see.
Permissions on: /wp-includes/js/crop/<stuff>
Hey, Im also having problems with the avatars and even the thumbnails. It was just yesterday that my avatar crop was working but now its not. Seems unstable.
This is my site http://www.modelsorg.com, i hope there is a solution for this.
@seanzyville I replied to you in your other thread. Why don’t you tell us what exactly is happening, or not, with the av crop tool. Did you upgrade mu or bp? The crop tool is a mu thing.
EDIT: hmmm. bp seems to override it’s functions in some way. looking…
Let’s kinda narrow down the prob a bit. Can either of you upload images in posts and have them work properly? Insert them in posts. Posts show on the site?
@oceandoctor ??
@seanzyville you are experiencing image probs in mu, not in relation to av cropping
The guns say it’s a permissions prob. Probably the upload dir or below blogs.dir
apache and linux are very picky about dir and file rights. apache *has* to have rights in the upload dir and in everything below blogs.dir
sporadic image probs can be related to images being created for user x. me going in and fixing user x with chmod and chown for that dir. along comes user y and y creates another new dir for y. apache cant play with the y dir now.
FROM HOSTGATOR:
Both GD and ImageMagick are installed. There appears to be an error in the script code as referenced by the logs below.
[root@gator452 ~]# php -i |grep -i gd|grep -v configure
gd
GD Support => enabled
GD Version => bundled (2.0.34 compatible)
[root@gator452 ~]# mogrify -version
Version: ImageMagick 6.3.9 12/10/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
[Mon Dec 29 17:49:22 2008] [error] [client 216.110.94.227] Try `file –help’ for more information., referer: http://www.modelsorg.com/
[Mon Dec 29 17:49:22 2008] [error] [client 216.110.94.227] Usage: file [-bcikLhnNsvz] [-f namefile] [-F separator] [-m magicfiles] file…, referer: http://www.modelsorg.com/
[Mon Dec 29 17:49:22 2008] [error] [client 216.110.94.227] file -C -m magicfiles, referer: http://www.modelsorg.com/
I also get this error in NextGen v.90 when uploading pictures just in case there is a link to my problem.
ERROR: 061220081211.jpg :
Fatal error: Call to undefined function wpmu_enable_function() in /home/admin/public_html/modelsorg.com/wp-content/plugins/nextgen-gallery/admin/wp25/functions.php on line 709
You have some plugin conflicts it looks like since you are also using nextgen-gallery which might also be calling some libraries. Try disabling it and see if buddypress is able to upload and avatar and crop it.
Hi, i disabled NextGen. But the avatar problem happened even before I installed NextGen.
When i fist installed WPMU and BP my avatars work great. Then after a while it had some problems. Then now is ok again. I think its the plug-ins that make it unstable.
I installed my plug-ins at the WP plugin folder and not the mu-pluins. Is there a diference?
Avatar is working great now! Check my site http://www.modelsorg.com Now I have a problem with the thumbnails.
Happy new year!!!
I am also having this problem. I found these two support tickets that describe this problem a little better.
Cropping via the “Change Avatar” Screen causes cropping area jumping
Hi all,
I had the same problem of cropping and black box. First of all deactivate all your plugin.
then put the in the .htaccess file thoses comment
#uploaded files
#RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
#RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
and then in the bp-core-avatars.php file within the mu-plugins/bp-core directory
replace the line
$newdir = path_join( ABSPATH, $path );
$newdir .= ‘/avatars/’ . $user_id . ‘/’;
by
$newdir = $path. ‘/avatars/’ . $user_id . ‘/’;
it ll work.
Then reactive step by step yours plugins you ll see those one who made the conflicts
Have so fun
from Martinique
Hi, i also have the same problem, and the suggestion above does not work. However, i think i know what the problem is. The first crop works, but the second larger one does not. I use standard avatars, the ones you can download everywhere. These are too big for the thumbnail, so you are asked to crop them by selecting a small area. That works.
Then you get to the second crop, but the avatar you upload is smaller than the crop rectangle. It’s bumping to the thumbnail that’s right next to it, so the moment you select that rectangle, it’s no longer working!
If you upload a large image, the second crop will work, because the image is then larger than the cropping rectangle.
I wish there were an option where one can just upload the avatar AND the thumbnail. That will make things a lot easier.
Back from the dead, but I have a weird avatar cropping issue also. The images upload/crop just fine, but the *resize* of the draggable area of the crop tool itself does not follow the mouse. I can move it fine, but if I try to resize it, it just goes wherever it wants to. I’ve checked the CSS and it is the same as stock in terms of relative and absolute positioning of the drag areas.
Suggestions?
hhhmmm … it’s the dreaded black box avatar again!
Avatars work fine if untouched.
Upload png, loads fine
Click the crop/ resize links, image refreshes but no option to actually do anything.
Click through to the end then the black box takes over.
I’m assuming this has been reported/ logged/ trac’d?
I have the same issue that you described “huh”… But only on one install. THe other install works just fine. Seems strange…
I’m having the same issue. But I have another problem (sorry for my bad english) … the other problem is that after croping the large image, and hit “continue”, it sends mi to a error page http://www.example.com/activate?key=7eceeb07e9659d4a&cropped=true … If i refresh, it goes back to homepage the user is registerd ok, and the avatar is ok …
the solve: “kkkforkkk: you are missing wp_nonce() calls. ” said Andy, but … where can i find this nonce calls? … i have uploades the latest version of bp and templates!
thanks!
I ran into a big problem with avatars: images could be uploaded, but the crop box couldn’t be adjusted (it could only be found up in the lefthand corner of the image), when you cropped anyway and went ahead the image literally bounced around the page, and the uploaded images wouldn’t show up — I’d just get a black box.
The solution, as it turned out, was to look for plugins that might be causing the conflict. For me, the Litebox plugin for WordPress was causing the problem — deactivating it enabled everything to work just fine.
Hi all,
I have the same problem of image crop on my site http://yaarian.net. Is there anyone who has the solution for this.
Jatinder
First of all, since this post has not seen any activity for 3 months, it is better to start a new thread as most people that can help you will often ignore posts marked resovlved, preferring to spending their time focusing on threads that stll are unresolved. Please read this for more information.
- The topic ‘avatars upload but cannot be cropped etc’ is closed to new replies.