Image file size

Hi team!

Is there any way to reduce the file size output for displaying the Instagram feed?

https://photoadventure.co.nz/wedding-photography.html

My webpage load size is very large, with unnecessarily large images. (See attachment screenshot).

Thanks!

1 Like

Hi @Jasper_Boer

We are so happy that you’ve decided to join our ranks! Welcome :tada:

At the moment, unfortunately, there is no way to optimize the images and we use them in the exact form Instagram provides them on its end. I am so sorry!

We do understand how important and we’ll try to find a proper solution.

As for now, I’d like to tell you that there is a way to improve page loading speed. You are very welcome to reinstall your widget by using some kind of lazy loading.

To make it work, you need to add a data-elfsight-app-lazy attribute to the widget installation code. Here’s what the installation code will look like:

<script src="https://static.elfsight.com/platform/platform.js" data-use-service-core defer></script> <div class="elfsight-app-WIDGET-ID" data-elfsight-app-lazy></div>

Please replace WIDGET_ID in the code above with the ID of your own widget and install it on your website.

Here is the article explaining this feature in a more detailed way - How to improve PageSpeed score of a page with our widget.

Thanks very much for this Max!

It has increased my GTMetrix “Structure” score from 69 to 74% and the images are no longer displayed in the list of network payloads.

Appreciate your quick solution!

Best, Jasper

1 Like

Awesome :star_struck:

You are always welcome!