Support » Plugin: FooGallery - Image Gallery WordPress Plugin » Gallery not working with AMPforWP

Viewing 1 replies (of 1 total)
  • Plugin Support phillcoxon

    (@phillcoxon)

    Hi @xoftmade,

    Would you please provide more detail about what is not working?

    I believe the issue is that AMP does not work well with javascript and therefore may break the functionality of FooGallery.

    Quoting another WordPress support response:

    “AMP doesn’t allow Javascript, AMP is made to make pages load fast and Javascript is often a slowing factor. To fix this you need to remove all Javascript scripts from the AMP pages. There are some workarounds like loading the Javascript in an AMP iframe. See https://stackoverflow.com/questions/36035733/google-amp-best-way-to-write-js-script-tag for more information.”

    My suggestion is to review the AMPforWP documentation and see what the limitations are with regard to javascript in AMP pages and if there workarounds you may be able to use.

    Please let me know if I can help with anything else. 

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.