Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question avatar size

More
13 years 8 months ago #1 by cbrace
avatar size was created by cbrace
Hi all,

The current size of the avatars in v1.6 is 160x160 pixels in the message views. Would it be possible to make them smaller, say 100px?

The quality of many of people's avatar is not that great and some don't look good at this size. Plus, for short one or two line responses, this results in a lot of empty white space.

It seems like avatar size might be a useful option to be able to configure under Avatar settings in the backend pages.

-Colin

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago - 13 years 8 months ago #2 by @quila
Replied by @quila on topic Re: avatar size
Hi Colin,

in K1.6 avatars are not resized and in message views are limited to max-width and max-height 144px.

Have you change something in template.xml file of Blue Eagle template?

Can you share with as link to your site to see the problem?

Thank you
Last edit: 13 years 8 months ago by @quila.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago - 13 years 8 months ago #3 by cbrace
Replied by cbrace on topic Re: avatar size
@quila,

I haven't changed anything in the files.

If I open your avatar here in Firefox:

www.kunena.com/images/avatar/a88fce3b14a2d232f320ffd1.png

It indicates 160x160 pixels in the title bar.

My site is currently changing servers and will be back up in a couple of hours, but avatars look the same there as they do here.

You have a great avatar and it looks good at the current size, but I would still prefer smaller avatars, say around 80 to 100 pixels wide.
Last edit: 13 years 8 months ago by cbrace. Reason: fx url

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #4 by @quila
Replied by @quila on topic Re: avatar size
Hi Colin,

yes you see my avatar with firefox as image 160x160 becouse I have upload image 160px. Limit here of 160 px comes from JomSocial and is not possible upload bigger image for avatar (configuration of JS). If you are using Kunena for uploading of avatar you can opload max size 200x200 px becouse kunena is configured in that way. When avatar is uploaded in kunena, than are created various dimensions of avatar for any user and are used in different place in forum. Example in profile page limit is 200x200, in post view page 144x144, in Profilebox at top of forum 72x72, in recent discussions 36x36.

All those limits are not in kunena configuration, you can find them in template xml file (hidden from configuration) and you can change values. Open the file template.xml and you will find at the end this
Code:
<param name="avatarSizeXThumb" type="hidden" default="36" /> <param name="avatarSizeYThumb" type="hidden" default="36" /> <param name="avatarSizeXWelcome" type="hidden" default="72" /> <param name="avatarSizeYWelcome" type="hidden" default="72" /> <param name="avatarSizeXList" type="hidden" default="36" /> <param name="avatarSizeYList" type="hidden" default="36" /> <param name="avatarSizeXPost" type="hidden" default="144" /> <param name="avatarSizeYPost" type="hidden" default="144" /> <param name="avatarSizeXProfile" type="hidden" default="200" /> <param name="avatarSizeYProfile" type="hidden" default="200" />
if you change values there you can have dimensions of avatars you want.
Remember, avatars will not show resized, this is just a limit of avatar to show.

Hope this helps
Regards

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #5 by cbrace
Replied by cbrace on topic Re: avatar size
Hi @Quila,

Thanks for your very helpful reply. It seems very straightforward: I changed the following values from 144 to 72
Code:
<param name="avatarSizeXPost" type="hidden" default="72" /> <param name="avatarSizeYPost" type="hidden" default="72" />
However, it has no effect on the size of the avatar in a post. If I look at the source in the browser,
Code:
<a class="kwho-admin" href="/index.php/forum/profile" title="" rel="nofollow"><span class="kavatar"><img class="kavatar" src="http://localhost/media/kunena/avatars/resized/size144/users/avatar72.jpg" alt="" style="max-width: 144px; max-height: 144px" /></span></a> </li>
It would seem that images are still displayed at 144px.

Am I missing something here?

In case it isn't clear, I would like to the avatar in the posts to display at 72x72px rather than 144px

-Colin

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #6 by Baze
Replied by Baze on topic Re: avatar size
Same here
Code:
<param name="avatarSizeXPost" type="hidden" default="200" /> <param name="avatarSizeYPost" type="hidden" default="200" /> <param name="avatarSizeXProfile" type="hidden" default="200" /> <param name="avatarSizeYProfile" type="hidden" default="200" />

but avatars are shown as they were before..

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #7 by @quila
Replied by @quila on topic Re: avatar size
Logout from site and clean all cashe of users (in kunena backend) and browser. What happens than??

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #8 by Baze
Replied by Baze on topic Re: avatar size
Loged out and cleaned all joomla cache in background (couldn't find kunena option for cleaning cache) and cleaned all of browsers cache but the avatar size is same. Where can i clean users cache in kunena backend?

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #9 by @quila
Replied by @quila on topic Re: avatar size
First option in "Synchronize Users"

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #10 by Baze
Replied by Baze on topic Re: avatar size
Thanks but it's still the same.. any other idea?

Please Log in or Create an account to join the conversation.

Time to create page: 0.386 seconds