# Optimisation: Load images asynchronously and with an alt

**URL:** <https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643>\
**Category:** Social Feed\
**Tags:** Gathering-Feedback\
**Created:** [August 16, 2022, 9:00pm UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643 "2022-08-16T21:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederic62](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/frederic62/32/905_2.png) [@Frederic62](https://community.elfsight.com/u/Frederic62)\
**Post date:** [August 16, 2022, 9:00pm UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643/1 "2022-08-16T21:00:00Z")

</div>

Hello!

I’ve been optimizing my site that contains ElfSight and really, theres a big problem between pagespeed and elfsight.

Problem that would be way less of one if the images could be loaded with a lazyload (just add loading=“lazy” to the image tag) and an alt.

Would it be possible to do so?

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [July 30, 2023, 2:21am UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643/2 "2023-07-30T02:21:05Z")

</div>

Folks, our former Wishlist portal, where our users shared their requests and suggestions, was transferred to this forum. You’re most welcome to vote, add new ideas, and leave your comments here — we surely will consider them all! 🤩

Original Votes: 2

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [August 20, 2022, 2:21am UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643/3 "2022-08-20T02:21:05Z")

</div>

Hello ,

Thank you for adding your idea!

We will try our best to look into the issue and improve the widget behavior. Thanks a lot for the details provided - we’ll try our best to consider them.

Thanks a lot for helping us!

Helga, Community Manager

Keep up with latest updates — [Facebook](https://elfsig.ht/3zUsqBa)  
Get to know our team — [Instagram](https://elfsig.ht/2VmJNf9)

---

<div class="post-metadata">

**Author:** ![ElfsightBot](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@ElfsightBot](https://community.elfsight.com/u/ElfsightBot)\
**Post date:** [June 4, 2023, 2:21am UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643/4 "2023-06-04T02:21:05Z")

</div>

Original comment from Mike Benwell transferred from the previous Wishlist portal:

> [@](#):
>
> I have the same problem with Pagespeed analysis and Elfsight. Pulling in an Elfspeed feed is taking 6509ms in CPU time, 2932ms script evaluation and 73ms for script parsing. This is way way too slow. As a minimum, this needs to occur asynchronously (beneath the fold) and not slow down what the user sees. Common, elfsight, provide a workable solution.

---

<div class="post-metadata">

**Author:** ![Helga](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/helga/32/1155_2.png) [@Helga](https://community.elfsight.com/u/Helga)\
**Post date:** [June 5, 2023, 2:21am UTC](https://community.elfsight.com/t/optimisation-load-images-asynchronously-and-with-an-alt/5643/5 "2023-06-05T02:21:05Z")

</div>

Hello folks!

Big news is coming — lazy load beta version for embedded widgets is here! 😍

It doesn’t work as a built-in option yet due to a couple of unresolved matters, but you can adjust your widget manually in order to make it work 🙂

Although this solution applies to the whole widget, we still believe it might work for you.

To turn it on, please add the “data-elfsight-app-lazy” attribute to a

 element in your installation code.

For example, here’s how the code looks like initially:

```auto
<script src="https://apps.elfsight.com/p/platform.js" defer></script>

<div class="elfsight-app-9d3beb9e-4c72-4bd1-8ed6-c192fc9e56c7"></div>

```

And here’s how it should look like with the attribute added:

```auto
<script src="https://apps.elfsight.com/p/platform.js" defer></script>

<div class="elfsight-app-9d3beb9e-4c72-4bd1-8ed6-c192fc9e56c7" data-elfsight-app-lazy></div>

```

Please keep in mind that it will work only for widgets which are not in the initial viewport (e.g. users have to scroll down at least for a little bit before they reach the widget).

Please let us know if it worked on your end and what you think about this option 🙂
