Title: Delay until interaction
Last modified: April 25, 2023

---

# Delay until interaction

 *  [bellemode](https://wordpress.org/support/users/bellemode/)
 * (@bellemode)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/delay-until-interaction/)
 * First of all your plugin is great and thank you so much for releasing it. My 
   issue is with my product pages. The delay until interaction is making it so that
   my product images don’t load until there is an interaction. I have made sure 
   that they aren’t lazy loading. This doesn’t happen on my homepage only my product
   pages. I’m wondering if there is a way to work around this? I don’t want to lose
   the page speed (if i put the setting on LCP optimization only my speed goes down
   to 39 and if it’s on Delay until first interaction I’m at 91).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdelay-until-interaction%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [bellemode](https://wordpress.org/support/users/bellemode/)
 * (@bellemode)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/delay-until-interaction/#post-16687025)
 * It’s so strange that the plugin doesn’t stop other pages images from loading 
   until interaction.
 * I have tried this bit of code:
 * add_action( ‘wp_enqueue_scripts’, ‘load_product_images’, 99 );
 * function load_product_images() {
   if ( is_product() ) {global $product;if ( is_object(
   $product ) && method_exists( $product, ‘get_gallery_image_ids’ ) ) {$attachment_ids
   = $product->get_gallery_image_ids();foreach( $attachment_ids as $attachment_id){
   $full_size_image = wp_get_attachment_image_src( $attachment_id, ‘full’ );if (
   $full_size_image ) {$image_url = $full_size_image[0];echo ‘‘;}}}else {error_log(‘
   WooCommerce product not found or get_gallery_image_ids() method does not exist.’);}}}
 * It doesn’t work either.
    -  This reply was modified 3 years, 1 month ago by [bellemode](https://wordpress.org/support/users/bellemode/).
    -  This reply was modified 3 years, 1 month ago by [bellemode](https://wordpress.org/support/users/bellemode/).

Viewing 1 replies (of 1 total)

The topic ‘Delay until interaction’ is closed to new replies.

 * ![](https://ps.w.org/wp-meteor/assets/icon.svg?rev=2452791)
 * [WP Meteor Website Speed Optimization Addon](https://wordpress.org/plugins/wp-meteor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-meteor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-meteor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-meteor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-meteor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-meteor/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [bellemode](https://wordpress.org/support/users/bellemode/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/delay-until-interaction/#post-16687025)
 * Status: not resolved