# Facebook instant profile image

**URL:** <https://forum.defold.com/t/facebook-instant-profile-image/43585>\
**Category:** Questions\
**Created:** [February 15, 2019, 3:18pm UTC](https://forum.defold.com/t/facebook-instant-profile-image/43585 "2019-02-15T15:18:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GreenArrow](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/greenarrow/32/18490_2.png) [@GreenArrow](https://forum.defold.com/u/GreenArrow)\
**Post date:** [November 18, 2019, 12:33pm UTC](https://forum.defold.com/t/facebook-instant-profile-image/43585/4 "2019-11-18T12:33:03Z")

</div>

Posting it here for those searching the forum who stumble upon the same issue.

Here’s something that looks workable:

> [@Dynamic creation of the atlas in the script](https://forum.defold.com/t/dynamic-creation-of-the-atlas-in-the-script/24404):
>
> Hello! I upload a lot of avatars of users from social networks into the game. I do this with the code http.request(link, "GET", function(self, id, res) local img = image.load(res.response) if gui.new\_texture(link, img.width, img.height, img.type, img.buffer) then gui.set\_texture(avatar\_node, link) end end) But I stumbled on the fact that the number of drawcalls! Is it possible to collect dynamic user avatars in one atlas and use from ....... local img = image.load(res.response) -- a…

---

_[View the full topic](https://forum.defold.com/t/facebook-instant-profile-image/43585)._
