Search Results for 'crop'
-
AuthorSearch Results
-
May 2, 2011 at 12:06 am #111455
In reply to: [Resolved] problem with resize pictures from profile
@mercime
Participant– Have you deactivated all plugins except BuddyPress and changed to bp-default theme just to start eliminating possible plugin conflicts or outdated BP themes?
– If you’re using IE to upload and crop, have you tried using other browsers like FF or Safari?
– Another one is that some have problems gif or png or JPG (all caps) files. Is same thing happening with jpg files?
May 1, 2011 at 8:19 pm #111449In reply to: [Resolved] problem with resize pictures from profile
sienteastu
ParticipantHi mercime, i had run the both latest versions… wordpress and buddypresss and i had installed Gd library. The picture upload sucesfully and the button adjust is show but i can’t edit the crop or resize to adjuts the imagen… nothing happen.
Do you think that it could be an conflict with someone plugin of worpress like the ‘user photo’?April 29, 2011 at 1:42 pm #111329shanebp
ModeratorI tried Bowe’s method using W3 Total cache and Rackspace CDN (CloudFiles) for a 3 dedicated servers setup – 1 db, 2 frontend.
It failed at the crop avatar step. Everything else was fine.
We had to use NFS instead to sync avatars across the frontend servers – ugh.
Still using W3 Total cache for CDN for other files.@Pisanojm: did MaxCDN allow use of CDN for avatars for you ?
April 28, 2011 at 6:41 am #111228In reply to: Avatars Original Max not bein saved?
r-a-y
KeymasterBP_AVATAR_ORIGINAL_MAX_WIDTH is used during the initial upload. However, during the cropping phrase, this original image is deleted.
It would be possible to do what you’re asking, but it would entail hooking into the avatar cropping process (so the original image isn’t removed) and filtering bp_core_fetch_avatar() to grab this original image when you want to call it.
April 27, 2011 at 7:12 am #111129In reply to: sync uploads folder across multiple servers
Paul Wong-Gibbs
KeymasterThe crop code is a bit hidden, but after upload, it stores the image somewhere in wp-uploads. After the crop, it deletes that original and saves the crop. If I get time at work, I’ll look up the path (you could just view the img src for an avatar that has been uploaded.
The easiest way I see would be sync directories across the servers, but that’s not without its own issues (sounds like you’ve found some of them). We did have a plugin somewhere that put avatars onto S3; that would be the approach I might take in this situation. I’m not sure if that plugin was ever released publicly.
April 26, 2011 at 10:54 pm #111092In reply to: sync uploads folder across multiple servers
Brandon Allen
ParticipantThere aren’t any avatar js files. The avatar code is output in the section of the html. The bp-core/bp-core-avatars.php file handles the actual cropping and saving of avatar files.
April 26, 2011 at 10:08 pm #111090In reply to: sync uploads folder across multiple servers
Virtuali
ParticipantThe cropping is jquery, so I would look for the avatar files with the label “.js”
April 18, 2011 at 2:40 pm #110505the_new_z
MemberConcerning the avatars not uploading part, here is what worked for me.
I run WP 3.1.1 with BP 1.2.8 and I was not able to upload an avatar. After setting the correct permissions, the upload process created an empty directory (no image) – no image was uploaded and accordingly, the avatar didn’t change.
I searched and read posts for hours until I figured that I was missing the GD library of PHP. One figures this out by putting “ in a file on their server and going to the corresponding address (i.e. http://www.mysite.com/phpinfo.php – phpinfo.php being the file you just created). If GD is not listed at all or GD Support is listed as disabled, then you need PHP with GD. If you run the server, that would be done by installing php5-gd (e.g., `sudo apt-get install php5-gd`).
Hope this helps someone.April 15, 2011 at 1:02 am #110283In reply to: restructuring profile fields from Table to DIVs
mabjustmab
ParticipantThank you for responding. I will check that. Unfortunately, a much larger error has cropped up that bumped this style issue back.
I will let you know how the test goes. (mostly I appreciate you letting me know I was in the right file. It was driving me nuts!)
April 11, 2011 at 4:55 pm #110023Bowe
ParticipantJust add the following css to your custom stylesheet:
`
div.activity-inner img {
max-width: 500px;
height: auto;
width: auto;
}
`
This sets the height and the width of the image properly. If the image width exceeds 500px (the size of your stream container) then it will (css) crop the image. Hope this helps!April 7, 2011 at 1:39 pm #109739In reply to: Load external file as avatar
GRAQ
ParticipantSuper, so I’m now pulling it in with imagecreatefromjpeg(‘http://…’); and saving it with imagejpeg().
Anyway to auto crop to get the images into a nice square shape?April 6, 2011 at 6:54 pm #109695In reply to: Avatar Distortion while cropping
Marcos Nobre
Participantbomp… am I the only one getting this error?
March 31, 2011 at 5:44 pm #109215In reply to: Avatar Upload Issues
Rob Watson
MemberI’ve tried reading through all the above posts, but my eyes started to bleed. Nothing looks like what I’m experiencing, so I’m hoping maybe someone can confirm that and help me find a solution.
When I upload a group avatar to BP on WP 3.1 (no multi-site) running on RHEL, I can see the file upload to /var/www/html/wp-content/uploads/group-avatars/4 . However, when I do the crop and save action, the file disappears from the directory. The permissions are set at 777 with apache:apache ownership, so I don’t know how much more open it could be. Something is removing the image at crop time.
Any ideas?
March 30, 2011 at 11:12 am #109109In reply to: Gravatar cropping tool not showing
john@chalkandtalk.co.uk
MemberHi
I find the cropping tool also missing in IE but it is fine in FireFox – so try firefox
March 30, 2011 at 4:39 am #109097In reply to: Gravatar cropping tool not showing
bob_wood
MemberExact same problem at http://www.fishwrench.com — running WP 3.1 and buddypress 1.2.8. Also running buddypress forum extras v0.3.0 and 1.3.2 of the buddypress activity stream.
This is probably unrelated, but the following line is throwing an invalid character error in IE8: $(#signup-welcome).p(;:last-child’).css(‘display’, ‘none’);
ERROR:
Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 30 Mar 2011 04:37:56 UTCMessage: Invalid character
Line: 298
Char: 4
Code: 0
URI: http://www.fishwrench.com/south-metro-bass-clubMarch 28, 2011 at 6:15 pm #108963In reply to: Looking for help from a buddypress guru
Twistedangels
Memberhttp://public.fotki.com/TRCApgh/wordpress/activation-link.html
http://public.fotki.com/TRCApgh/wordpress/change-avatar.html
http://public.fotki.com/TRCApgh/wordpress/crop-avatar.html
http://public.fotki.com/TRCApgh/wordpress/incorrect-formatting.html
http://public.fotki.com/TRCApgh/wordpress/paypal.html
http://public.fotki.com/TRCApgh/wordpress/proper-alignment.htmlMarch 28, 2011 at 4:27 pm #108950In reply to: Looking for help from a buddypress guru
Twistedangels
MemberThe first time I tried to upload a photo as an avatar:
The name of file I selected was barely visible before I uploaded it. This was a minor annoyance as that the theme background was in back and the text shows up black. All the rest of my text is white.
Once uploaded, it requires cropping of the photo. However, no matter how I crop it, it shows up bigger in the avatar and so indistinguishable as a photo.
I deleted my uploaded avatar and tried to upload a smaller version of the photo but it won’t even accept this one. It never says anything about any sort of error.
March 28, 2011 at 7:07 am #108904In reply to: Avatar Crop Problem
Paul Wong-Gibbs
KeymasterClosing this topic as we don’t need your posts more than once, please people
March 28, 2011 at 6:36 am #108903In reply to: Gravatar cropping tool not showing
tfirma2000
ParticipantI have same exact problem. Any answers?
March 28, 2011 at 6:35 am #108902In reply to: default crop avatar selection is not working
tfirma2000
ParticipantI don’t have the Sliding Readmore plugin and still experience this problem (can’t crop — image crops only upper left corner of photo) — I experience the issue firefox 3.6.1.6 for PC. Site is http://www.malaria.com
March 28, 2011 at 6:29 am #108901In reply to: Avatar Crop Problem
tfirma2000
ParticipantI have the same problem — latest version of WP and Buddypress — crop tool does not function — only shows top left corner of my avatar image. Is this a bug?
March 28, 2011 at 6:28 am #108900In reply to: Trouble with Cropping Image for Avatars
tfirma2000
ParticipantI have the same problem — Can not crop the image — I only get the top left corner of my image and there’s no way to move any sort of crop tool over the image.
March 26, 2011 at 3:43 am #108768In reply to: broken link upload avatar
@mercime
ParticipantWhat do you mean “results in a broken link”? The image was not uploaded at all? i.e. you can’t see the image you would like to crop on screen?
1 – default max file upload size is 2MB
2 – check if GD library is installed.
3 – can you upload images via Page/Post Write Panel and do they show up after you publish the page/post?
4 – change theme to bp-default theme and see if the upload worksMarch 23, 2011 at 2:07 am #108480In reply to: Failed to load resource: jquery.Jcrop.js
Virtuali
ParticipantSo, the avatar cropping just does not appear? Sometimes if the page does not fully load, the cropping tool will not appear.. are you sure the page is fully loaded?
If so, I would check for conflicting plugins, otherwise, did you say you had multisite?
March 23, 2011 at 12:11 am #108475In reply to: Avatar Crop Problem
-
AuthorSearch Results