Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Change the max size of avatars

More
15 years 5 months ago #71713 by kiwi3685
I'm sure there's an easy answer to this one, but I can't find it on the user-interface, nor the code, nor in these forums..

How can I change the maximum avatar display size from its current (on my site and this one) 144px?
I would prefer something a little smaller, say 80 or 100px.
Looking at my site (or this one) with Firebug suggests the size is hard-coded into an element style:

<img style="max-width: 144px; max-height: 144px;" alt="" src="xxxxxxx.jpg" class="kavatar">

Looking through the code, that size actually gets computed somehow. That's where I get lost :blink:

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

More
15 years 5 months ago #71718 by sozzled
Are you still using K 1.6.0? Upgrade to K 1.6.1.

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

More
15 years 5 months ago #71719 by kiwi3685

sozzled wrote: Are you still using K 1.6.0? Upgrade to K 1.6.1.

No, I'm using 1.6.1. Did I post to the wrong forum? Sorry.

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

More
15 years 5 months ago #71720 by sozzled
I moved your topic to the Common Questions category because I'm fairly sure that Kunena iteself isn't broken. I dug around the configuration options but I didn't find any answers for you. I looked at the last time you posted a configuration report and it showed you were using K 1.6.0 - that's why I asked the question.

As you say, there should be an easy answer. Have you changed any of your configuration parameters? Perhaps a reset of your config. params. might be advisable? I didn't see that you were using a third-party product to handle your avatar images. I'm just trying to give you a couple of quick-fix ideas to go on with.

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

More
15 years 5 months ago #71722 by kiwi3685
Thanks. I also don't think its exactly anything broken in Kunena, but it was/is a surprise that its not an easily configurable item.

I did try all of those thoughts. If you check here you will see your own avatar is also 144px, so its pretty standard, and no, I don't use any external avatar software. I prefer a simple life!

Clearly it is not as simple as just setting a single avatar size, because it does need to be re-sized for use in a range of different locations. But I had hoped for at least a max size control somewhere.

It looks to me like the 144px is derived from some other dimension(s) (I got lost once the code moved into javascript, which I struggle with). So if someone could tell me what the calculation works from, I can try changing that.

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

More
15 years 5 months ago #71725 by sozzled
I hadn't noticed how BIG my avatar image was. No matter. It's probably settable in the CSS.

Try this (add it to your site template, at the end)

#Kunena span.kavatar img {
max-height:80px !important;
}

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

Time to create page: 0.247 seconds