- Standardized icons display and markup
- Forces
large
icon to be 200x200 square - Adds
extra_large
icon with 325 with that is resizes similar to master - Allows you to choose between
square
,rounded
,circle
corners - Replaces default user, group and question mark icons with a scalable SVG image
// 'rounded' and 'circle' corners will only be displayed with tiny, small and medium icon sizes
echo elgg_view_entity_icon($entity, 'small');
echo elgg_view_entity_icon($entity, 'large', array(
'corners' => 'circle',
));
To replace the default icon, simply overwrite the svg view. Just place an svg icon with the same name and in the same location in your plugin.