If you use Modula with WP Rocket, your gallery images may not show as expected. You can fix this by changing one WP Rocket setting. Modula and WP Rocket then work well together.
Fix Modula images that don’t show with WP Rocket
WP Rocket has a lazyload feature. Lazyload means images load only when a visitor scrolls near them. If your Modula gallery images don’t show and you suspect WP Rocket, keep Modula’s images out of this feature.
- In your WordPress dashboard, go to Settings → WP Rocket.
- In the WP Rocket settings menu, click Media.
- Find the Lazyload section in the Media settings.
-
In the Excluded images or iframes field, paste this code:
MARKUP.modula-gallery .modula-items .modula-item img -
Save your changes.

What changes after you save
WP Rocket now leaves Modula’s images out of its lazyload feature. Modula works next to WP Rocket, and your website stays fast.
You can use both plugins with no conflicts, and your visitors get a smooth experience.
If your images still don’t show, test for a conflict with the Health Check plugin. You can also contact our support team.