• Resolved meftech

    (@meftech)


    Hi Since updating to 2.0 only the feature photos are showing on posts. Is there something I can do to fix this?

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Please share details on how the missing images are being embedded in the posts. Are they in galleries? If so, do you have any special gallery plugin?

    Thread Starter meftech

    (@meftech)

    Hi Weston,

    This post is using the default WordPress block, gallery to display the images.

    I checked other posts that just use the image block and they work fine.

    • This reply was modified 4 years, 3 months ago by meftech.
    Plugin Author Weston Ruter

    (@westonruter)

    So the regular Gallery block? Do you have another plugin active like Jetpack which is handling the lightboxes? Please share the list of active plugins.

    Thread Starter meftech

    (@meftech)

    Yes that’s right the regular Gallery block. I have FooBox that has a lightbox effect for non amp pages. I have tested with this disabled in WP and also suppressed in the AMP settings.

    AdAce Version 1.3.14 by bringthepixel
    AMP Version 2.0.0 by AMP Project Contributors
    Asset CleanUp: Page Speed Booster Version 1.3.6.8 by Gabriel Livan
    Better Search Replace Version 1.3.3 by Delicious Brains
    Envato Market Version 2.0.4 by Envato
    FooBox Image Lightbox Version 2.7.11 by FooPlugins
    G1 Socials Version 1.2.23 by bringthepixel
    Imsanity Version 2.6.0 by Exactly WWW
    Loginizer Version 1.5.5 by Softaculous
    Mashshare Share Buttons Version 3.7.7 by René Hermenau
    MC4WP: Mailchimp for WordPress Version 4.8.1 by ibericode
    MediaAce Version 1.4.7 by bringthepixel
    Mighty Pros & Cons Version 1.2.5 by Mighty Themes
    Podamibe Custom User Gravatar Version 1.0.8 by Podamibe Nepal
    Rank Math SEO Version 1.0.47.1 by Rank Math
    SG Optimizer Version 5.6.5 by SiteGround
    Ultimate Blocks Version 2.3.9 by Ultimate Blocks
    WP Review Version 5.3.3 by MyThemeShop

    Plugin Author Weston Ruter

    (@westonruter)

    Thanks. We’ll try to reproduce the issue and include a fix in v2.0.1 tomorrow.

    Thread Starter meftech

    (@meftech)

    Thanks Weston will look out for the update / fix.

    • This reply was modified 4 years, 3 months ago by meftech.
    Plugin Author Weston Ruter

    (@westonruter)

    We’ll reply here with a link to a pull request build for you to test.

    Plugin Author Weston Ruter

    (@westonruter)

    What version of the AMP plugin did you upgrade from?

    Plugin Author Weston Ruter

    (@westonruter)

    Here is some workaround code you can add to a custom plugin that should fix the problem for you:

    add_action( 'amp_post_template_css', function () {
    	echo file_get_contents( AMP__DIR__ . '/assets/css/amp-default.css' ); // phpcs:ignore WordPress.WP.AlternativeFunctions
    } );
    Thread Starter meftech

    (@meftech)

    Going from memory we were on 1.5.1, not sure how I can check.

    Not sure on adding the code but can do some research or wait for the update.

    Thanks

    Plugin Author Weston Ruter

    (@westonruter)

    Was it the first time that you added a Gallery block? I noticed the post you published is only 4 hours old.

    Here’s the pull request we’re going to include in the v2.0.1 update: https://github.com/ampproject/amp-wp/pull/5282

    We tested the fix with a version of the Bimber theme and it fixed the issue. The issue is that Bimber doesn’t include the default AMP stylesheet so it is missing some required styles.

    Thread Starter meftech

    (@meftech)

    Great thanks for testing.

    All our “Review” posts have the gallery block.

    Plugin Author Weston Ruter

    (@westonruter)

    We decided to wait to release v2.0.1 until next week. However, there is a pre-release build of 2.0.1 which has the fix which you can install to fix the issue. Find the link here: https://github.com/ampproject/amp-wp/pull/5282#issuecomment-682238748

    Thread Starter meftech

    (@meftech)

    Great thank you, I have updated with the pre-release build and is working.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘No photos showing since update 2.0’ is closed to new replies.