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

Question Resize image to 100% not 90%

More
17 years 1 month ago #9644 by schmaka
When I attach images that are wider than the forum area the images get resized to the 90% of the width set for text area set.

Example:
My text area is set to 740px wide.
Large attached image is displayed at 666px wide, which is 90% of the text area.

Can someone point me to where I can change this 90% value to 100%?

cheers
schmaka

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

More
17 years 1 month ago - 17 years 1 month ago #9698 by schmaka
Eventually came across the answer in another thread.


Changed the following code 9 -> 10 = 100%

/com_kunena/lib/kunena.parser.php
Code:
$imgmaxsize = (int)(($GLOBALS["fbConfig"]->rtewidth * 9) / 10); // 90% of text width

cheers
schmaka
Last edit: 17 years 1 month ago by schmaka.

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

More
17 years 1 month ago #9731 by Lintzy
Thanks for sharing. Perhaps still interesting: This fits the image in signature too.

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

Time to create page: 0.257 seconds