×
Kunena 6.0.6 & Kunena 5.2.13 & blue eagle5 1.6.8 released as security release (28 Nov 2022)

The Kunena team has announce the arrival of Kunena 6.0.6 [K 6.0.6] which is now available for download as a native Joomla extension for J! 4.2.x. This is a security release.

Question Signature Image-Size Limit

More
12 years 1 month ago - 12 years 1 month ago #11 by SkeeterUK
Solved!

It is fixed by going to kunena lib folder in ftp and finding and editing kunena parser.php

Find this text and notice the part in a red color is what ur lookin to change.

{
// This part: <div style=\"table-layout:fixed; display:table;\"> ... </div> compliments of IE8

$tag_new = "<a href='".$tempstr."' rel=\"lightbox\"><img src='".$tempstr.($imgtagsize ?"' width='".$imgmaxsize:'')."' style='max-width:".$imgmaxsize."px; ' alt='' /></a>";
} else {
// This part: <div style=\"table-layout:fixed; display:table;\"> ... </div> compliments of IE8

$tag_new = "<img src='".$tempstr.($imgtagsize ?"' width='".$imgmaxsize:'')."' style='max-width:".$imgmaxsize."px; ' alt='' />";
}


Change it to and i have marked it in red which i have changed.

{
// This part: <div style=\"table-layout:fixed; display:table;\"> ... </div> compliments of IE8

$tag_new = "<a href='".$tempstr."' rel=\"lightbox\"><img src='".$tempstr.($imgtagsize ?"' width='".$imgmaxsize:'')."' style='max-width:700px; ' alt='' /></a>";
} else {
// This part: <div style=\"table-layout:fixed; display:table;\"> ... </div> compliments of IE8

$tag_new = "<img src='".$tempstr.($imgtagsize ?"' width='".$imgmaxsize:'')."' style='max-width:700px; ' alt='' />";
}

Last edit: 12 years 1 month ago by SkeeterUK.

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

  • C0n
  • C0n's Avatar
  • Offline
  • Premium Member
  • Only the strongest will survive
More
12 years 1 month ago #12 by C0n
Replied by C0n on topic Re: Signature Image-Size Limit
Thanks works terrificly :D

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

More
11 years 10 months ago #13 by SkeeterUK
Hi there.

How do you set the width of signature box images in Kunena 1.6.3 latest? The parser has changed. The sigs now break forum areas so i wana smallen them slightly with kunena and not have to manually do it to each one.

Pleas help asap.

www.therisenphoenixfleet.com/index.php/f...etings-from-ufp.html

As you can see some of the sig pictures are disapearing off the right side a bit so if i can auto shrink (max width) to about 725 or 700px wide (if i have to). How would i do it which setting in the Kunena_parser file or can it be easier to change now in latest version (last time i tweaked to work was in kunena 1.5 somit or other.

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

More
11 years 2 months ago #14 by kinkseb
still not possible to do that from the admin interface with K1.7?

If not, which needs to be edited please to limot the max signature size?

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.233 seconds