Photon prevent image dinamically loaded and do not display image on mobile
-
Jetpack Version 3.8.2 over WP 4.4
Hello I experienced a problem with the Photon module of JetPack.
the image loading during scroll down didn’t work (only the first visible images were displayed), plus the images were not at all displayed in the mobile version of the website (eg. Chrome over Android).I firstly asked to the forum of the theme Customizr and they pointed out the main reason of the problem as reported in the following code and suggested to check the plugins by activating them one by one.
This is an example of the code of an image in the post https://www.icefotolog.it/niagara-falls-buffalo-toronto/
this image appears after the first scroll down of the page.<img class="wp-image-3313 size-medium tc-smart-loaded" src="https://i2.wp.com/www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743.jpg?resize=300%2C222" alt="IMG_20151201_164743" sizes="(max-width: 300px) 100vw, 300px" width="1" height="1" scale="0" srcset="https://i2.wp.com/www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743.jpg?resize=300%2C222 300w, https://i2.wp.com/www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743.jpg?resize=510%2C377 510w" style="display: inline;">
the problem is the part of the code
width="1" height="1"
that prevents the image to be displayed when loaded
disactivating Photon on the same image and post the resulting code is this one:
<img class="wp-image-3313 size-medium tc-smart-loaded" src="https://www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743-300x222.jpg" alt="IMG_20151201_164743" width="300" height="222" sizes="(max-width: 300px) 100vw, 300px" scale="0" srcset="https://www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743-300x222.jpg 300w, https://www.icefotolog.it/wp-content/uploads/2015/12/IMG_20151201_164743-510x377.jpg 510w" style="display: inline;">
actually I disabled the module since it prevents the correct display of the images.
but i’m writing to notify the problem to add it to the bug list.I hope you can take care of it and solve for everybody,
I’ll be available for any further information and waiting to be able to reactivate the Photon module.Thank you!
Fabio
- The topic ‘Photon prevent image dinamically loaded and do not display image on mobile’ is closed to new replies.