# Profile Pic using Data (if/then)

**URL:** <https://community.glideapps.com/t/profile-pic-using-data-if-then/11567>\
**Category:** Report a Bug\
**Created:** [June 28, 2020, 12:25am UTC](https://community.glideapps.com/t/profile-pic-using-data-if-then/11567 "2020-06-28T00:25:02Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 3, 2020, 2:20am UTC](https://community.glideapps.com/t/profile-pic-using-data-if-then/11567/16 "2020-07-03T02:20:25Z")

</div>

something like this:

```auto
={"Default Image";arrayformula(if(len(A2:A), A2:A, "https://AVATARURL.com/"&B2:B))

```

Where A2:A is the image upload and B2:B is a unique ID to the user profile. Email address or Row ID. Avatar URLs can be any of the ones we found here:

> [@Avatar Builders!](https://community.glideapps.com/t/avatar-builders/7964):
>
> Creating this thread to highlight innovations to avatar builders within Glide. This first one comes from

---

_[View the full topic](https://community.glideapps.com/t/profile-pic-using-data-if-then/11567)._
