PDA

View Full Version : Resize my Avatar


PGAmerica
09-03-2008, 02:00 AM
I just got v2.6.7+ installed and it is working fine. However, I have large avatars on my site. is it possible to change something in ibProArcade that will make my avatars display at a fixed size? Adding something that will force the width and height to 100 would be nice.

g0dfather1984
09-03-2008, 03:45 AM
I just got v2.6.7+ installed and it is working fine. However, I have large avatars on my site. is it possible to change something in ibProArcade that will make my avatars display at a fixed size? Adding something that will force the width and height to 100 would be nice.

Look here:

https://vborg.vbsupport.ru/showthread.php?t=182412

PGAmerica
09-03-2008, 03:52 PM
Thank you for your reply. However the link you sent me allows me to change the category image size. What I am looking for is a way in the arcade listing to change the user's avatar size.

--------------- Added 03 Sep 2008 at 11:11 ---------------

Let me restate my question. Avatars on my site can be as large as 250px x 250px. What I am asking is, how, in the arcade only, can I force them to be only 100px x 100px?

--------------- Added 1220542947 at 1220542947 ---------------

Anybody? Anybody?

PGAmerica
09-05-2008, 05:59 PM
Is there anybody offering support?

stangger5
09-05-2008, 07:17 PM
The way I did it is,,

Editing the functions/functions.php file..

around line 925 look for,,
return "<img src='{$member_avatar}' border='0' alt='' ".$sizedata."/>";

change to,,

return "<img src='{$member_avatar}' width='100' height='100' border='0' alt='' ".$sizedata."/>";

You can change the width and heigth to your liking...;)

PGAmerica
09-05-2008, 07:36 PM
Perfect. Thank you very much.

yotsume
07-09-2009, 03:24 AM
Oh yea another edit that needs to be default and built in! THANKS!