Problem with Avatar thumbnail

12 years 8 months ago - 12 years 8 months ago #175120 by amir00251
Problem with Avatar thumbnail was created by amir00251
Hello,

I have replaced default Avatar images in ...images/comprofiler/gallery.

The new image fils are larger than the default ones, to have a better feeling and nicer view.

My problem is that these new images i gallery are not displayed right as thumbnail, see below image




I have manually reduced the size of the images and added tn to the beginging of the original files (same as usual uploads which only adds tn for thumbnail images) but CB does not pick up these manually created thumbnails.

Would you please suggest a solution?

Also a quick question, is it possible to change the below editor to a normal joomla editor, or friendlier version?

Attachments:

Please Log in to join the conversation.

12 years 8 months ago - 12 years 8 months ago #175173 by krileon
Replied by krileon on topic Re: Problem with Avatar thumbnail

I have manually reduced the size of the images and added tn to the beginging of the original files (same as usual uploads which only adds tn for thumbnail images) but CB does not pick up these manually created thumbnails.

The default is a flat image and does not look for a thumbnail. You'll need to downscale the image using CSS to prevent it from expanding outside of the connection box. The below should do this just fine for you.
.connectionBox img {
	max-width: 61px;
	max-height: 85px;
}

Please add the above to the bottom of your Joomla template CSS file.

Also a quick question, is it possible to change the below editor to a normal joomla editor, or friendlier version?

No, this is built in and hardcoded into the profilebook plugin.


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.208 seconds

Facebook Twitter LinkedIn