Skip Navigation

[Resolved] Google maps – Defer offscreen images

This support ticket is created 3 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by pramodk-2 3 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#2106015

Hi Team,

While running the site in Page Speed Insights, I have come across one issue which is 'Defer Offscreen Images' for google maps places in my template.

Please run the below page in google page insights and see for the change.

hidden link

Please suggest on how to get rid of 'Defer Offscreen Images' for my page.

Thanks,
Pramod.

#2106021

Hello Pramod, and thank you for contacting Toolset support.

The provided page is not available for me, it gives me 404 errors. So, I tried with a different page hidden link

It also gives "Defer offscreen images" recommendations on Google Page Insights. However, that's not something we could fix. It is how the Google Maps API work. As you can see on this screenshot, it is only about the images loaded by Google Maps from Google's servers. hidden link

Only one image comes from Toolset Blocks and it is already very lightweight(8kb), and it is already being lazy-loaded using Javascript, instead of being added to the initial page markup. You can check the page's source code, it does not appear on it:
- Image: hidden link
- Page's source code in chrome browser: view-source:hidden link

In the end, I believe it is worth mentioning some online articles on how to speed up a WordPress website. Hopefully, you will find them useful:
- hidden link
- hidden link
- hidden link
- hidden link
- hidden link

I hope this helps. Let me know if you have any questions.

#2106375

My issue is resolved now. Thank you!