|
#1
|
|||
|
|||
Wtf ??? Huge avatars in torrent comments
What the... i didnt do anythink but now my torrents comments are huge
can you tell me how to fix this :( Last edited by Fynnon; 31st October 2008 at 00:14. |
#2
|
||||
|
||||
simply check to make sure your not using a pic thats about 200 x 200 for a avatar or just open the torrent details file and look for the section that deals with the avatar and add width="100" or something to make it shrink any avatar to that size :)
|
#3
|
||||
|
||||
Here is an answer you can actually use!
include/functions.php (Line 930) remove: $avatar_max_height, $avatar_max_width include/functions.php (Line 980) remove: height=\"$avatar_max_height\" and width=\"$avatar_max_width\" to line 980! |
#4
|
||||
|
||||
might also be a good idea to implement either a javascript or php validation for the avatars. PHP validation would getimagesize() and check its not too big and javascript would resize if too big on loading .. i prefer the php method but u have to turn off error reporting at all levels .
i have also used phpthumb to do this on one site but i really hate that class |
Tags |
avatars , comments , huge , torrent , wtf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disallow Comments | sagus | TBDev | 3 | 31st December 2015 19:38 |
how to delete torrent comments | stall20080 | Torrent Strike | 5 | 15th May 2010 20:07 |
Manage Avatars in TS SE 5.6 | Verix | Template Shares | 0 | 21st April 2010 20:58 |
PM on Comments | xxx2008 | Free Torrent Source | 5 | 17th January 2010 13:16 |
comments | wMan | BT.Manager (phpMyBitTorrent) | 0 | 2nd September 2009 18:32 |