- b2evolution CMS Support Forums
- b2evolution Support
- General Support
- [4.03] Avatar image size/moving avatar images
1 anonymous Mar 12, 2011 12:37
My b2evolution Version: 4.03
Hi,
It's great to see that avatars are now integrated into user profiles without having to hack various admin pages (using SamK2b's excellent avatar plugin). I have been looking at replacing the avatars on a site from using the plugin method to the inbuilt system.
1) Using the following code:-
$Item->author( array(
'link_text' => 'avatar',
'link_rel' => 'nofollow',
'thumb_size' => 'crop-32x32',
'thumb_class' => 'leftmargin',
) );
If I change the crop size to anything above 32x32 the image (when displayed) jumps to 80x80, is there a list of pre-defined crop sizes that I need to alter to allow the size I want (60x60)?
2) A nice touch with Sam2kb's plugin was the image's link to lightbox to allow a bigger image to appear when it was clicked - is it possible to do this with the inbuilt system?
3) Is there a way to link images used using Sam2kb's method to the new avatar system or is it going to be move all the files across from 'media/avatar/default/user' and place them one by one into each user's own media file and update each profile?
Matthew