Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

PageBuilder CK et Lazy Load Images de JCH Optimize Pro

More
6 years 11 months ago #54489 by ced1870
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

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

More
6 years 11 months ago #54515 by cat1910
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

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

More
6 years 11 months ago #54520 by ced1870
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

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

More
6 years 11 months ago #54539 by cat1910
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 :-(

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

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

Joomlack Webmaster and Developer

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

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

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

Time to create page: 0.207 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 2012 guests and no members online