PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Replied by ced1870 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 5 months ago #54489
j'ai trouvé : l'image dans Page Builder CK contient l'attribut "data-src", et si ça existe alors JCH ne prend pas l'image ...
à voir pourquoi ?

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by cat1910 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 4 months ago #54515
Hello Cédric,
Oups, je n'avais pas vu tes réponses (et je ne reçois pas l'alerte mail :-().
Merci d'avoir investigué!
Je vais creuser avec tes éléments de réponse.
Si jamais tu as une solution, n'hésite pas!
Merci,
Catherine
by cat1910

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 4 months ago #54520
ah je me disais aussi :)
pour la solution, c'est de voir avec le dev de JCH. Je suis ouvert à la collaboration si nécessaire

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by cat1910 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 4 months ago #54539
Bonjour Cédric,

voilà la réponse du développeur de JCH... pas grand chose à faire :

This is how it is designed to work. The Lazy-load feature will place the image url in a data-src attribute and place a 1x1 px data-image placeholder in the src attribute. When the image is scrolled into view, the image is moved from the data-src attribute to the src attribute and downloaded.

If there is already a data-src attribute this won't work. This is suggesting that the image is already lazy-loaded or is being manipulated by javascript in a way that will conflict with the Lazy-load feature. The plugin will ignore these images to avoid conflicts.

Je creuse d'autres pistes...
et je ne sais pas pourquoi je ne reçois pas tes notifications par mail :-(
by cat1910

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 4 months ago #54540
faut lui suggérer d'utiliser un "data-jch-src" à la place pour éviter les conflits :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by cat1910 on topic PageBuilder CK et Lazy Load Images de JCH Optimize Pro

Posted 4 years 4 months ago #54541
suggestion envoyée... :-)
je sais pas pourquoi, j'y crois pas trop ! (à ce qu'il la suive !)
by cat1910

Please Log in or Create an account to join the conversation.

Time to create page: 0.724 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 498 guests and no members online