Skip Navigation

[Resuelto] Lazy Load of map marker image on click

This support ticket is created hace 5 años, 11 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Nigel hace 5 años, 11 meses.

Asistido por: Nigel.

Autor
Mensajes
#1163131

Tell us what you are trying to do? We have a map with over 500 pins on it. Each pin marker has an image, title and excerpt. The page is slow to load. What we would like is for the images to only be loaded when a pin marker is clicked. Is this possible?

Is there any documentation that you are following? Didn't find any

Is there a similar example that we can see? I found this link: https://toolset.com/forums/topic/map-with-html-in-pin-load-with-ajax-to-reduce-site-loading-size/ and was hoping that this feature had been implemented in the last year. If not add a feature request for it.

What is the link to your site? enlace oculto

#1163597

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

Hi there

Did you try any generic lazy-load solution? I'm not sure if I would expect them to work, they are typically based upon whether an element is in the Viewport, I'm not sure if they are also sensitive to whether the container is displayed or not, and the only way to know would be to try such a plugin and see if it works or not.

I don't have any particular recommendations (Noman listed several in the thread you linked to).

Let me know if you try and it works or not.