Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   Wtf ??? Huge avatars in torrent comments (http://www.bvlist.com/showthread.php?t=1077)

poila 28th September 2008 18:39

Wtf ??? Huge avatars in torrent comments
 
1 Attachment(s)
What the... i didnt do anythink but now my torrents comments are huge

Attachment 558

can you tell me how to fix this :(

Tony 29th September 2008 23:27

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 :)

dezza 23rd October 2008 11:35

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!

djlee 31st October 2008 00:08

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


All times are GMT +2. The time now is 15:42.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.