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

Option when we have an picture #23

Closed pablorsk closed 8 years ago

pablorsk commented 8 years ago

Hi!

Your library is really great! But do you have a option when the user, for example, has a profile pricture?

Like Gmail, when don't have picture, put the LETTER, but when have, put the PICTURE.

The idea is use the same configuration for both cases, and don't generate a new code when we have a picture.

uttesh commented 8 years ago

@pablorsk Thanks, I guess this can be done without modifying the library, anyways i will keep in my todo list.

go96396 commented 8 years ago

Hi!

i just wanted to know is there any update on the above issue option when we have a picture. please let me know thanks.

uttesh commented 8 years ago

@pablorsk @go96396 library is updated with the changes. thanks,

pablorsk commented 8 years ago

@uttesh wooow! Great :). Now, we use your library in our project :)

pablorsk commented 8 years ago

Just a TIP:

When data is URL, title should be empty.

uttesh commented 8 years ago

@pablorsk updated with code cleanup, thanks.

go96396 commented 8 years ago

thanks :-)