"If a user upload a big avatar (more than 45x45 px) tiki 2.1 not 'avatarize' and show the big image in the forums. This problem may be very uncomfortable when you read a forum topic."
I can confirm that this still occurs on tiki.org and whatever Tiki version it is running presently, specifically with GIF images. — ssanders
Change the line 1073 of /lib/tikiklib.php
$ret = "<img border='0' src='tiki-show_user_avatar.php?user=$user' " . $style . " alt='$user' />";
by
$ret = "<img border='0' width='45' height='45' src='tiki-show_user_avatar.php?user=$user' " . $style . " alt='$user' />";
(like in tiki 1.9)
or, for rectangular avatars:
$ret = "<img border='0' height='45' src='tiki-show_user_avatar.php?user=$user' " . $style . " alt='$user' />";
This change works in http://precarios.org/
I, Chealer9, can't reproduce this bug in trunk. I'm closing assuming this was fixed. Please reopen if you can reproduce in a current version.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |