Support » Plugin: AMP for WP - Accelerated Mobile Pages » Categories – Validator: The tag amp-image-lightbox

  • Marinos

    (@helppostgr)


    Hi and sorry for by bad english
    I use validator.ampproject.org
    All posts it’s ok.
    But for all Categories results is=
    The tag ‘amp-image-lightbox’ requires including the ‘amp-image-lightbox’ extension JavaScript.

    If i save in Advance Settings / “Enter HTML in Head” (http://prntscr.com/ja1e8p )
    <script async custom-element=”amp-image-lightbox” src=”https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js”></script&gt;

    All Categories FIX – ok
    But all posts = The tag ‘amp-image-lightbox’ requires including the ‘amp-image-lightbox’ extension JavaScript.

    How to add the code / script only in categories ? or
    How to fix the error ?

    • This topic was modified 3 years ago by Marinos.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Talha Ansari

    (@ansaritalha)

    Hello @helppostgr,

    It’s really strange.

    After entering the code in HTML in head section the ads is not working so Can you please contact me directly on team@magazine3.com?

    I will personally make sure that your issues get resolved immediately.

    Hi!

    I received mail from google search console: Search Console has identified that your site is affected by 1 new AMP related issue. This means that AMP may be negatively affected in Google Search results. We encourage you to fix this issue.

    New issue found:
    The tag ‘amp-image-lightbox’ requires including the ‘amp-image-lightbox’ extension JavaScript.

    First I disableled lightbox, as it is not relevant for me. Yet error existed

    Then I entered this code in header: <script async custom-element=”amp-image-lightbox” src=”https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js”></script&gt;

    Still error exist. Error can’t be validated by any method.

    • This reply was modified 2 years, 10 months ago by joyloan.
    • This reply was modified 2 years, 10 months ago by joyloan.
    Plugin Contributor ampforwp

    (@ampforwp)

    Hello Joyloan,

    Thank you for writing to us.

    With regards to your query, could you send me the Proper Link and Screenshot on which you are facing this issue so that I can check and let you know about it?

    I have taken scrrenshot.

    I have uploded it to google drive.

    Link to see is https://drive.google.com/open?id=16IwM5hctYOsYlLGmV2RKKhsfQn4D_AQM

    Thanks

    Plugin Contributor ampforwp

    (@ampforwp)

    You are welcome.

    Thank you for the information.

    With regards to your query, I would recommend you to contact us at team@magazine3.com.

    Our team will personally debug and make sure that everything is working perfectly for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Categories – Validator: The tag amp-image-lightbox’ is closed to new replies.