Media Library Infinite Scroll
Re-enable infinite scrolling in the media library grid view. Scroll continuously through thousands of images without clicking “Load More” buttons or navigating pagination.
Use Cases
- Browse 2000+ images without clicking through dozens of pages
- Find images faster by scrolling instead of guessing which page contains them
- Restore the classic WordPress media browsing experience
How It Works
This is a toggle module — enable it and infinite scroll activates. No configuration needed.
When enabled:
- Open Media Library in grid view
- Scroll down through your images
- More images load automatically as you approach the bottom
- Continue scrolling until you find what you need
Where to Find It
Enable in Switchboard → Media → Media Library Infinite Scroll. Then view your media library in grid mode to see it in action.
Grid View vs List View
Infinite scroll works in grid view only.
To switch to grid view:
- Go to Media → Library
- Click the grid icon (four squares) in the top left
- Scroll down — images load automatically
List view continues to use standard pagination.
Why This Module Exists
WordPress changed the media library behavior in version 5.8. The default grid view now shows a “Load More” button instead of automatically loading images as you scroll.
This module restores the previous behavior for users who prefer continuous scrolling.
Performance Considerations
| Library Size | Scroll Experience |
|---|---|
| Under 500 images | Smooth, fast loading |
| 500-2000 images | Works well, may need pauses |
| 2000+ images | Consider using search/filters |
For very large libraries, use the search box or media categories to filter results before scrolling. Infinite scroll works best when you’ve narrowed down the results.
Browser Memory
Loading many images increases browser memory usage. If your browser becomes sluggish after loading thousands of images:
- Refresh the page to clear loaded images
- Use search to find specific images
- Filter by date or type before browsing
FAQ
Why doesn’t this work in list view?
WordPress only supports infinite scroll in grid view. List view uses traditional pagination by design.Images load slowly. Is this normal?
Loading speed depends on your server, image sizes, and internet connection. The module doesn’t change how images load — just when. If loading is slow, the issue is likely server performance.Can I set how many images load at once?
The module uses WordPress’s default batch size. You can change how many items appear per page in Screen Options at the top of the media library.Does this affect the media modal in the editor?
Yes. The media selection modal (when inserting images into posts) also uses infinite scroll when this module is enabled.Why would someone disable infinite scroll?
Some users prefer pagination for:
- Lower memory usage on older devices
- Predictable, repeatable browsing positions
- Better accessibility with screen readers
Will this slow down my site?
No. This only affects the admin media library experience. Your public site is not affected.Get access to all 147 modules with a single license