Hello.
Could you please, check cropping preview?I think, something is wrong with cropping
http://prntscr.com/ky5f4vThank you.
Hi Max,
This plugin has not been updated recently. I will test, I am not sure if we will be able to support it(depends on current state of requirement by BP). I will update you in 1-2 hours.Thank you
BrajeshHi Max,
Please upgrade to 1.0.3https://buddydev.com/plugins/bp-signup-avatar/
If you are using BP Legacy template pack, It will work(From your screenshot, It seems you are using that).
Regards
BrajeshHello Brajesh
I updated the plugin.
But the issue is the same
http://prntscr.com/kyd63fCould you check it?
* Limit BuddyPress Avatar file size. * * @param int $size size in bytes. * @param string $type upload type(avatar, cover_upload). * * @return int */ function buddydev_limit_buddypress_avatar_file_size( $size, $type ) { if ( 'avatar' == $type ) { $size = 5000 * 1024; // in bytes, 1024 bytes = 1KB } return $size; } add_filter( 'bp_attachments_get_max_upload_file_size', 'buddydev_limit_buddypress_avatar_file_size', 10,2 );
I use this snippet if it can influence.
Hi Max,
The above code will have no effect. It restricts file size only.
It seems to me the problem lies with css applied on the cropped preview. Try right clicking and checking the css. Is there height/width applied , you will need to override it to avoid distortion.
Hello Brajesh.
Thank you. Is it possible to fix aspect ratio?
I checked standard avatar changer in member profile.
It uses the aspect ration. How to implement it with your plugin?- This reply was modified 6 years, 1 month ago by Maksim Rusakovich.
Hi Max,
We are using ‘bp_core_add_cropper_inline_js’ which should have done it. Is there any chance that you have custom defined image size for avatar?There are two possibilities:-
1. The bp_core_add_cropper_inline_js() is not finding the image and that’s why not setting the ratio
2. Or there is a custom defined image height/width and their ratio is something else(I doubt it).
I will be investigating more tomorrow now.
Thank you
BrajeshHello, Brajesh
Could you, please, check the plugin?
I used with standard wordpress theme 17.
Cropping is working.
But the avatar is not loading. I can’t see in Admin panel in Pending users.
Also avatar mod plugin is disabled.===
By the way,
https://wordpress.org/plugins/buddypress-upload-avatar-ajax/
plugin crop ratio is correct.
But other functions are not working.- This reply was modified 6 years, 1 month ago by Maksim Rusakovich.
Hi Max,
The avatars become visible after a user account is activated. Try activating an account.
I haven’t tried the upload avatar via ajax plugin. Seems like a good option.
You must be logged in to reply to this topic.