

![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I´d like to have bigger avatars like here: http://forums.pligg.com/pligg-mods/8...html#post36939 (just this post) |
| ||||
| Isn't there a setting in admin > config > avatars? I think it defaults at 30x30. If you change it it will only take effect with newly uploaded avatars. |
| |||
| Didn´t get it, thank you! As a side effect all 30x30 images disappear, i.e. you have to change it from the start or notice all your users. |
| |||
| I still need 30 px Avatars due to the layout of Pligg whereas I need bigger avatars for my sidebar. I could change in Admin to a 30+ value but then all the users have to re-submit their images in order to get a bigger avatar. Could I have a mod to define a medium avatar size? If it´s too heavy I would be delighted if the medium size is fixed somewhere in the relevant code to get three different sized avatars with only one image submission. Thank you! |
| |||
| I´ve found a hardcoded solution. It´s in profile.php (for the size of 30px): Code: // create fixed medium avatar $img=new pThumb(); $img->pSetSize(30, 30); $img->pSetQuality(100); $img->pCreate($newimage); $img->pSave($user_image_path . $current_user->user_login . "_30.jpg"); $img = ""; Last edited by tbones; 02-20-2008 at 07:11 PM. |
| ||||
| I would have done this: the places in sidebar where the avatar is called - just go change the code get_avatar('small',... to get_avatar('large',... as 30 px is the default size in Pligg for large avatar. |
| |||
| Thank you, but I need three different sizes: 15 px (small) for the welcome message and the who´s online display 30 px for the profile to fit into the css styling 45 px (large) for the stories and the sidebar (Top 3 commenters) Since I don´t change the system that often I´m pretty happy with my hardcoded solution :-) P.S.: Feel free to have look at this single post: http://forums.pligg.com/pligg-mods/1...html#post56490 |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wistie Avatars Not working | phnick | Questions and Comments | 3 | 01-17-2010 02:17 PM |
| Avatars missing after upgrade | greeneyed_itgirl | Questions and Comments | 11 | 12-12-2009 05:20 AM |
| Error Logs getting bigger and bigger | GrinGEO | Questions and Comments | 5 | 11-14-2007 01:17 PM |
| show default avatars | johnvgross | Questions and Comments | 0 | 02-09-2007 07:00 AM |
| Impossible to upload Avatars (built 278) | Daidy | Questions and Comments | 4 | 09-27-2006 03:48 AM |