Keyword

Support for AMP pages?

  • Elisabeth Bertrand
  • Elisabeth Bertrand's Avatar Topic Author
  • Offline
  • New Member
More
6 years 7 months ago #167510 by Elisabeth Bertrand
Support for AMP pages? was created by Elisabeth Bertrand
Hi there,

I am trying to use the SIG in conjuction with AMP. Sig is a good plugin, I really want to use it but I am having no luck getting the sig images to display on AMP pages. The developers say it has something to do with sig loading images using javascript lazy loading but this is not compatible with the Google AMP format. Can this not be disabled or changed to support Google AMP? It would be GREAT because I have over 200 galleries.
See :
www.dolcevia.com/nl/italie-reizen/agriturismo/campanie/477-bed-a-breakfast-villa-bruna-napels/amp
Thanks for your reply,
Elisabeth

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #167522 by Krikor Boghossian
Replied by Krikor Boghossian on topic Support for AMP pages?
Hello there,

We are not using lazyload or another JS script to load the images.
Unfortunately Google AMP does not support background images out of the box. You will need to override the template a bit. The <img tag's src attribute needs to be the image (use CSS to hide it) instead of the transparent.gif file.
Google thinks that the image is the transparent.gif instead of the actual file which is rendered as a background image.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum