# Profile image for the user and the leads

**URL:** <https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614>\
**Category:** Product Support\
**Created:** [October 26, 2015, 7:31am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614 "2015-10-26T07:31:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mhamad.canaan](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@Mhamad.canaan](https://forum.mautic.org/u/Mhamad.canaan)\
**Post date:** [October 26, 2015, 7:31am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/1 "2015-10-26T07:31:58Z")

</div>

Hi Everyone,  
  
  
  
I have a problem displaying the image of the user and the leads, its giving this src for the user src=“[https://www.gravatar.com/avatar/7a8ce4c649da6a7b0a1498895bab7dcc?s=250&d=http%3A%2F%2F192.168.1.111%2Fmedia%2Fimages%2Favatar.png](https://www.gravatar.com/avatar/7a8ce4c649da6a7b0a1498895bab7dcc?s=250&d=http%3A%2F%2F192.168.1.111%2Fmedia%2Fimages%2Favatar.png)”. but not displaying any pic.  
  
any ideas on what to do?  
  
I guess the problem is in the getImage() function, but don’t know how to fix it.

---

<div class="post-metadata">

**Author:** ![Mhamad.canaan](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@Mhamad.canaan](https://forum.mautic.org/u/Mhamad.canaan)\
**Post date:** [October 26, 2015, 7:31am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/2 "2015-10-26T07:31:58Z")

</div>

Hi Everyone,

I have a problem displaying the image of the user and the leads, its giving this src for the user src=“[https://www.gravatar.com/avatar/7a8ce4c649da6a7b0a1498895bab7dcc?s=250&d=http%3A%2F%2F192.168.1.111%2Fmedia%2Fimages%2Favatar.png](https://www.gravatar.com/avatar/7a8ce4c649da6a7b0a1498895bab7dcc?s=250&d=http%3A%2F%2F192.168.1.111%2Fmedia%2Fimages%2Favatar.png)”. but not displaying any pic.  
any ideas on what to do?  
I guess the problem is in the getImage() function, but don’t know how to fix it.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 26, 2015, 12:18pm UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/3 "2015-10-26T12:18:27Z")

</div>

Does it happen on a public server with a public URL or a local server? What version of Mautic do you use?

---

<div class="post-metadata">

**Author:** ![Mhamad.canaan](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@Mhamad.canaan](https://forum.mautic.org/u/Mhamad.canaan)\
**Post date:** [October 26, 2015, 1:10pm UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/4 "2015-10-26T13:10:51Z")

</div>

for now it is still local server, and it is version 1.2.  
so I suppose that it is giving error only because it is local?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [October 26, 2015, 5:41pm UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/5 "2015-10-26T17:41:26Z")

</div>

Yes, it is possibly caused because Gravatar doesn’t provide images for local servers.

---

<div class="post-metadata">

**Author:** ![mingfang](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mingfang](https://forum.mautic.org/u/mingfang)\
**Post date:** [March 21, 2017, 12:22am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/6 "2017-03-21T00:22:34Z")

</div>

are there plans for Mautic to allow uploading user profile images, as it does for contact image?  
I don’t want to use Gravatar.

---

<div class="post-metadata">

**Author:** ![casbraka](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@casbraka](https://forum.mautic.org/u/casbraka)\
**Post date:** [July 14, 2017, 11:03am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/7 "2017-07-14T11:03:52Z")

</div>

Hi @mingfang , MAUTIC already supports image uploading to your leads. At the lead page you can choose between Gravatar or Personalized images. Best regards.

---

<div class="post-metadata">

**Author:** ![mingfang](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mingfang](https://forum.mautic.org/u/mingfang)\
**Post date:** [July 21, 2017, 5:32am UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/8 "2017-07-21T05:32:11Z")

</div>

Yes that’s true.

But I want also to upload images for users(not leads).

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/profile-image-for-the-user-and-the-leads/2614/9 "2020-02-02T22:57:38Z")

</div>


