Search Results for 'crop'
-
AuthorSearch Results
-
July 4, 2009 at 8:46 am #48510
In reply to: [URGENT] Problem with Group Avatar image
wamp
ParticipantWe are using WAMP, so I doubt it is due to permission.
I believe the file had been uploaded to the server because there are 2 new files being created, 1-groupavatar-full.jpg and 1-groupavatar-thumb.jpg, but both appears as black box.
The problem could be due to the “Crop” function. Has anyone ever had the same problem? Any solution to the problem?
June 28, 2009 at 8:26 pm #48217In reply to: Avatar from Register Page not being created
Andy Peatling
KeymasterUsers crop when they activate – not when they signup.
June 19, 2009 at 10:49 pm #47816thebloghouse
ParticipantJust to add I have had a smilar no cropping issue (leaving black thumbs) and isolated the issue down to the WP Carousel plugin which iteslf resolved a previous issue I was having with an old jQuery image gallery!
I am now stuck between a rock and a hard place- have the nice image gallery rotating on the home page OR have the cropping fucntions working correctly wihtin BuddyPress

Weirdest issue with this jquery compatabilty theory is that I actually modified the WP Carousel plugin so it didn’t pull in it’s own jquery.js file so there SHOULD be no conflicts.
Will get in touch with the plugin authors but can I ask Jeff or anyone else what version of jQuery we can expect to see in the next BuddyPress update?
If I know this I can at least give the plugin developers a little more idea as to what I would like in an ideal world (after 1.2.6) but I can see some late nights getting friendly with jQuery ahead zzzz
June 18, 2009 at 10:32 am #47693In reply to: Crop & save button disappears
Burt Adsit
ParticipantI’ve heard of some issues related to IE8. That the ver you are having problems with?
June 15, 2009 at 3:16 am #47487In reply to: Avatar image problem – other fixes don’t work
John James Jacoby
KeymasterCheck all of your blogs.dir, 1, and uploads directory’s permissions, and see if any plugin you’ve installed previously has locked down any of them with .htaccess or .htpasswd files or modifications.
I’ve seen a few plugins (caching, or roles/capability/permissions) put strange rights on those directories, that allow the uploading of the initial image, do not allow the cropped images to get saved, and then disallow the website from accessing any image in those directories.
Physically go through each directory and manually assign the permissions yourself. Then also look for the existance of .htaccess or .htpasswd files in your wp-content/blogs.dir directory, and delete them if they exist.
June 15, 2009 at 2:56 am #47485In reply to: Avatar image problem – other fixes don’t work
Peter Kirn
ParticipantI’ve double-checked my GD / libpng / libjpeg install, and as near as I (and phpinfo) can tell, everything is fine.
It’s definitely failing on the cropping code. Images are all uploading successfully, but not their cropped versions. So when BP goes to look for the cropped versions that are the correct sizes, they’re not there — regardless of the size of the original file.
This also now truly rules out the upload issue (though that bug trac is interesting).
Any chance that detritus from our RC test is involved with the new BP stuff? Other things to check? I’m just running out of ideas.
June 14, 2009 at 2:11 am #47414Jeff Sayre
Participantjohnetec-
I’m really not too sure what options you have at this time. But, I would strongly suggest that you contact each of the plugin developers and let them know of the issues you’ve had with uploading and cropping avatars in BuddyPress.
WordPress 2.8 will be using an updated version of jQuery. This may very well cause issues with plugins using older jQuery based scripts. Also, BuddyPress could be using a newer jQuery codebase than the plugins that you’ve mentioned. So, this issue will continue until the plugins are updated to a jQuery codebase that is compatible with BuddyPress.
June 13, 2009 at 11:48 pm #47409johnetec
ParticipantOK, The issue seems to be with any plugin that calls jquery. I had three of them. I checked status after uninstalling each one and the cropping function kept getting better. After the third plugin was uninstalled, the cropping and avatar uploading worked fine. So no NextGen Gallery, no WP-cycle, and no jquery lightbox. Any recommendations for replacements? Basically need a lightbox plugin.
June 12, 2009 at 5:12 am #47269In reply to: Avatar image problem – other fixes don’t work
Jeff Sayre
ParticipantThe majority of the avatar handling code can be found in bp-core-avatars.php. The cropping code is found in bp-core-cssjs.php in function bp_core_add_cropper_js().
June 12, 2009 at 3:04 am #47261In reply to: buddypress insalled in a subdomain help needed
Anointed
ParticipantDigging even further:
When I go into the avatars folder on my server I can see the avatar after I upload it via ftp.
Even though no avatar shows up to crop if I click the crop button twice, it creates 2 images in my avatars folder. Those files are mostly black but I could see a corner of the picture it was going to crop.
Very strange.
the only thing that changed was moving bp to a subdomain as far as i can tell.
all plugins other than buddypress are deactivated, so no conflict there.
Here is a very strange issue:
when the image is uploaded, prior to cropping I can see the missing picture. It is pointing to
http://community.anointed.net/wp-content/blogs.dir/1/files/avatars/1/fallensoldier-450×327.jpg
If I remove the community. so it’s
http://anointed.net/wp-content/blogs.dir/1/files/avatars/1/fallensoldier-450×327.jpg
then the image shows up, of course not in the cropping page.
so it seems that the cropping tool does not like the community. subdomain
makes me guess there is some setting somewhere to change and tell bp that it’s in community.
any ideas?
June 12, 2009 at 2:44 am #47258In reply to: buddypress insalled in a subdomain help needed
Anointed
Participantwell i copied the bp home theme to the themes directory and then chose that as my theme.
That seemed to fix all of the problems except one.
Now when I try to upload an avatar for my member acct, it says it uploads but there is no avatar to crop, just the crop tool.
(this was working perfectly prior to my moving buddypress to the subdomain)
is this a known problem?
June 9, 2009 at 11:15 pm #47071In reply to: Can’t Crop Upload Profile Image
Jeff Sayre
ParticipantDerekfox.us-
You’ve mention that the issue is resolved but then you have another thread here: https://buddypress.org/forums/topic.php?id=3103
So as to provide potential help to others, would you please take a moment to share the resolution with us.
June 9, 2009 at 4:42 pm #47041In reply to: Can’t Crop Upload Profile Image
Derekfox.us
ParticipantThanks that was the issue.
June 8, 2009 at 5:07 pm #46991In reply to: Avatars, Custom Themes and Registering
zappak
ParticipantI’m having a similar problem. On the activation screen I get a javascript error: “v1Cropper is undefined.” I haven’t changed the buddypress theme, but I have a custom wordpress theme installed and renamed its folder to “default” to force new blogs to use the customized theme. I saved the original default theme in a backup folder. Is it possible I need some file(s) from the original default wordpress theme? I’m using wordpress 2.7.1 and buddypress 1.0.
June 6, 2009 at 2:23 pm #46854In reply to: Avatar image problem – other fixes don’t work
Jeff Sayre
ParticipantHum, I’m at a loss as to what is going on in your particular situation.
Jpegs can be processed via the file uploader and cropper. You get a message of success, but then they are not actually written to the blogs.dir directory.
PNGs on the other hand, have issue with the file uploader and cropper. You get a 404 message but then they actual DO get written to the blogs.dir directory.
So, the permissions and ownership of the blogs.dir directory must be okay. You are able to write to this directory.
- What are the avatar file sizes that you are attempting to upload?
- What are the sizes of the jpg versus png files?
- What is your setting for for maximum upload size in WPMU’s backend: “Site Admin > Options > Max upload file sizeâ€?
- Do you have the png file format added to the list of accepted upload file formats? This option is found just above the setting for maximum upload size.
I created a ticket in trac a few days ago that may be of interest, but I do not think that it is the primary reason for your issue.
June 6, 2009 at 4:10 am #46835In reply to: Avatar image problem – other fixes don’t work
Peter Kirn
ParticipantI should add, of course, that non-cropped images aren’t a possibility with the avatars per se — the avatars require cropping.
And some images seem not to be getting uploaded at all. I’m guessing the ones that I’m seeing in the directory were the ones initially uploaded when someone first created a user or group?
Is there no way to disable the cropping routine? Or to delete an image once it’s been added to a reference?
June 6, 2009 at 3:58 am #46834In reply to: Avatar image problem – other fixes don’t work
Peter Kirn
ParticipantHi Jeff,
Right, that makes sense — it’s effectively coding the exception into the URL, get that.
Basically, what works:
* uploading an image that’s the correct size (regardless of format)
* uploading an image and getting as far as on-screen cropping
What doesn’t work:
* the cropped image is not getting written to the directory (jpg)
* editing avatar images is not properly updating the URL reference in the database (png)
(and then that breaks the avatar if people use the wrong image size)
I’ve just tested this by editing the avatar on one of our groups. png vs. jpg is not an issue. If it’s a size other than the correct size — i.e., if it brings up the cropping interface — it just doesn’t work. It crops the thumbnail, then the full-size image — both correctly. It just seems not to be actually writing out the file.
So, with the jpg, I get dumped to a page that says “The group avatar was successfully updated.” Except that the image hasn’t updated, and if I navigate to that directory, no jpgs whatsoever have been written. The URL is
http://noisepages.com/wp-content/blogs.dir/1/files/avatars/2/oscemote.jpg’%20is%20not%20an%20image.
— which is correct, oscemote.jpg in this case actually is not there. That seems especially odd to me, that even the uncropped jpg is apparently not getting uploaded to the directory.
With the png, I get dumped to a 404 error — it correctly creates both the full-size and thumbnail images on-screen, but at the last step I get a 404 on the group avatar editing page.
The png’s actually ARE in the directory. So I have what is apparently the full-sized image, plus the cropped one — oscemote-300×450.png
But the avatar itself isn’t actually changed in that place; the URL is still pointing at the JPG.
June 5, 2009 at 2:28 pm #46789In reply to: Avatar image problem – other fixes don’t work
Jeff Sayre
ParticipantUploading and cropping avatars appears to go fine – it even displays the proper thumbnail for each..they result in broken image links.
According to your posts, you have no problems uploading and cropping an image file. They get added to the blogs.dir directory. Otherwise, you would not be seeing them displayed, as you state.
But then you state this:
I look at that directory and the other images are there, but *not* the jpg (ie, owen3.png)
[later you state]
the jpegs seem to be what are missing. libjpeg does itself seem to be working as we can upload and crop jpegs elsewhere.
Look at the link you’ve provided. Those two-digit numbers preceded by the % sign are a two-digit hexadecimal representation of special characters in the URL encoding.
%20 --> equals a space
%27 --> equals an apostropheSo your URL really looks like this:
noisepages.com//File 'wp-content/blogs.dir/1/files/avatars/21/owen3.jpg' is not an imageNotice the space after the word “File” and the apostrophe before the “wp-content”. You also have more special characters after the jpg file extension.
Basically, this link is stating this:
'wp-content/blogs.dir/1/files/avatars/21/owen3.jpg' is not an imageWhat file type are you initially uploading for use as your avatar? Is it a jpeg or png? What size?
June 5, 2009 at 5:25 am #46774In reply to: Avatar image problem – other fixes don’t work
Peter Kirn
ParticipantActually, one note – as I look again, cropping jpgs in the upload facility seems not to work; could that be a symptom of a libjpeg issue (which in turn might prevent those jpgs from getting created in the avatar)?
May 26, 2009 at 11:36 am #46098In reply to: Avatar Won’t Crop
philpeter
ParticipantI’d like to implement Jcrop before 2.8, but I’m not sure where the code should go… or is there a Plugin that could do this?
May 25, 2009 at 4:34 pm #46039In reply to: Strange issue with avatar in testbp.org
Michael Berra
ParticipantThanks Jeff, the problem is, that it is a WPMU-Message and the only option I can choose is “try again”.
It only occurs, when I create a new group, when it comes to finish the avatar-cropping.
If I change it afterwards in the group options it soesn’t bring up this message.
It seems kind of strange… any ideas?
May 24, 2009 at 8:04 am #45955In reply to: Black Avatars
pinggu
Participantyes me too when i crop the picture I uploaded inmy site it became black when saved. using firefox browser
May 20, 2009 at 2:24 pm #45714In reply to: Can’t Crop Upload Profile Image
May 15, 2009 at 2:39 am #45377In reply to: black avatars
Evvscuba
ParticipantJeff:
1. I’m using Facebuddy theme, but it is only CSS changes, so I don’t believe it could possibly cause the problem.
2. Running PHP5
3. My GD version is 2.0.28.
I’ve had a few users install Firefox and they were then able to properly upload and crop their avatars. The strange thing is that it looks like it is working, but once the final crop is done it goes black.
May 11, 2009 at 11:54 am #45026In reply to: Avatar Won’t Crop
takuya
ParticipantAs suggested in this topic, Jcrop is gonna be implemented to WordPress 2.8
Perhaps it’s a good chance to replace the cropping system with Jcrop in the future releases like 1.1?
-
AuthorSearch Results