how to change default cb avatar in user profile?

3 years 3 months ago #321846 by saman2
hi
i want change default cb user profile picture but i don't want change manually in cb core. because when update CB , then it reset.
have you any way?
thank you.

Please Log in to join the conversation.

3 years 3 months ago #321894 by krileon
Edit your avatar field and review the parameters carefully as we provide a means of selecting a different default image. Add your new images to the below location.

Canvas Field:
/components/com_comprofiler/plugin/templates/default/images/canvas

Image Fields:
/components/com_comprofiler/plugin/templates/default/images/avatar


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: saman2

Please Log in to join the conversation.

3 years 3 months ago #321940 by saman2
thank you kyle but when i use cb login module to show avatar of user, then load default cb avatar. how can change that?

Please Log in to join the conversation.

3 years 3 months ago #321941 by saman2
i find it. it seems need to create an other profile photo started with tn******.png for that profile image.

Please Log in to join the conversation.

3 years 3 months ago #321977 by krileon
Yup, you need a full size and a thumbnail size. Thumbnail size should be named the same as the full size except prefixed with "tn". This also applies to canvas images if you add new canvas defaults.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.190 seconds

Facebook Twitter LinkedIn