/
User avatar always cropped at center [5.2.1-RC1]
User avatar always cropped at center [5.2.1-RC1]
The <inp2:u.profile_Image .../>
tag is used to display user avatar. It supports several options, for example:
Tag Parameters | Description |
---|---|
Primary="1" | display primary instead of additional user image |
MaxWidth="183" MaxHeight="126" | resize image to given dimensions |
Crop="C|0" Fill="#EAEAEA" | crop image and fill empty space (if any) with a given color |
DefaultImage="path/to/image.jpg" | default image to show, when none is uploaded |
However it appears that due typo error in the code the Crop
parameter always have "C|C" value instead of one given in tag.