Click here to Skip to main content
15,913,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to display user profile image.
but from DB, i dont have any field for image. so I get it using UserId in one folder.
Now If i display one user details, I need to display user profile image from folder using UserId using angularjs.

if image not available, need to display default image.

I need to do this using anglarjs.
I am getting user details through LoggedUser details from angular controller.

Thanks in Advance

What I have tried:

I tried to create directive for check image. but it is not working
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900