VOOZH about

URL: https://wordpress.org/support/topic/double-images-with-amp/

⇱ Double images with AMP | WordPress.org


Forums

Skip to content

Forums / Plugin: Crazy Lazy / Double images with AMP

  • 👁 Image
    Daniele Scasciafratte

    (@mte90)


    7 years ago

    AMP doesn’t need lazy load so is enough that the plugin is not executed with them.

Viewing 1 replies (of 1 total)
  • Thread Starter 👁 Image
    Daniele Scasciafratte

    (@mte90)

    I fixed it with:

     if( function_exists('is_amp_endpoint') && is_amp_endpoint() ) {
     return $content;
     }

    In the prepare_images method 🙂

Viewing 1 replies (of 1 total)

The topic ‘Double images with AMP’ is closed to new replies.