uttesh / ngletteravatar

directive for the letter avatar for the given string like gmail, first letter of the given data will be the avatar .
http://uttesh.github.io/ngletteravatar/
MIT License
136 stars 36 forks source link

Adding Border #5

Closed systems-rebooter closed 9 years ago

systems-rebooter commented 9 years ago

Hey,

I'm trying to add border, but it shows only top and left Can you assist, please?

}).css({
                                        'background-color': color,
                                        'width': width+'px',
                                        'height': height+'px',
                                        'border' : 'solid 5px',
                                        'border-bottom-style': 'dotted'
 });

screen shot 2015-06-23 at 19 57 16

systems-rebooter commented 9 years ago

Even convert -border 2x2 -bordercolor "#000000" 1.png 1-border.png did the trick for me. I'm just curious how to achieve this on code side

download 3

uttesh commented 9 years ago

Hey,

its look very nice with border, yes i made changes in the directive added avatar border feature attribute, its released in v2.0.1 available in bower and demo page updated with changes.

avatar_border1 avatar_border2 border_attribute

systems-rebooter commented 9 years ago

Wow, you are fast! Thanks a lot. Right now I have at least 2 choices :) Huge +1