Big avatar in forums, elsewhere
- Status
- Closed
- Subject
- Big avatar in forums, elsewhere
- Version
- 2.x
- Category
- Error
- Regression
- Usability
- Less than 30-minutes fix
- Patch
- Feature
- Forum
- Resolution status
- Invalid
- Submitted by
- pmorenogarcia
- Lastmod by
- Ushindi Gedeon
- Rating
- Description
"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
- Solution
Change the line 1073 of /lib/tikiklib.php
Copy to clipboard$ret = "<img border='0' src='tiki-show_user_avatar.php?user=$user' " . $style . " alt='$user' />";by
Copy to clipboard$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:
Copy to clipboard$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.- Workaround
- Importance
- 5
- Easy to solve?
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2082
- Created
- Saturday 18 October, 2008 16:09:18 UTC
by Unknown - LastModif
- Friday 01 May, 2026 14:51:30 UTC