File Limit Per Folder? | WordPress.org

[ad_1]

Awesome, I took a look through the code out of curiosity and I was able to solve this issue with three line changes in the media-library-plus.php file (for anyone else running into this issue):

$images_pre_page = get_option(MAXGALLERIA_MLP_ITEMS_PRE_PAGE, ‘500’);
$images_pre_page = ‘500’;

The first line is actually in two places, I changed the number for both. So three lines just needed a simple number change. With quick testing I don’t see any regression so far. I’ll mark this solved after a bit more testing.

Seems like an arbitrary number, maybe for lower server resources? If so, maybe putting an easily changeable option in the settings would be super helpful for others – because I thought it was a bug. Or AJAX pagination or something.

There is no need to edit the plugin code. The number of files that can be displayed in a folder can be changed in the plugin’s settings. The reason that there is a limit is that some users wanted to move files from a folder containing many hundreds of files, but there were too many files for a browser to display. Adding a limit that could be changed allowed one manage the number of files to display without crashing the browser.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer