[wp-hackers] RE: limit images displayed in the media upload window ?
dyordan1@ramapo.edu
dyordan1 at ramapo.edu
Tue Mar 26 10:54:06 UTC 2013
Lee,
If it makes you feel any better I’ve noticed the same problem too. It seems that WordPress has a limit to how many images it will show at a time and you took the time to count that limit to 129. It has been an issue for me exactly once, when I had more than that many images on a single page. For all other cases, I upload media files to the page I’m going to use them on so if I switch to the Uploaded to this Page from the dropdown, it shows everything and I don’t have to worry about it. I’m guessing that’s not a solution for you though so I would look through this page for anything interesting and then dig the core to find out more:
http://adambrown.info/p/wp_hooks/hook
Maybe there’s a filter for that somewhere. I wouldn’t think it’s a dropdown select or something in Settings though so you’ll have to code it into your theme/plugin. Good Luck!
~Dobri
From: Lee Rickler
Sent: March 26, 2013 6:36 AM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] limit images displayed in the media upload window ?
Guys,
I sent this over a few days ago but heard nothing back.
Anyone else have this issue?
Is it just me being stupid or is it a bug?
Essentially/ tl;dr:
When selecting a new image via the 'Select images' modal, not all media library files are displayed.
Original post:
I'm working on what's going to be a fairly substantial project and am having issues when placing featured images or selecting images in general.
Pages (so far) = around 300
Media library (so far) = 500 images (all around 1 or 2mbs each)
When I access a page to add an image only 129 images (from the media library) are displayed in the 'select images' modal.
If I then upload a new image/ save, the image shows up fine on the page and in the media library.
If I then go to another page and add an image the image I just uploaded isn't available in the SI window even though it's clearly in the media library.
Searching for the image from within the SI window brings up a blank/ not found.
Turned off all plugins and tried with twentytwelve theme - still the same issue.
I've even tried regenerating all the thumbnails etc but to no avail.
So, my question is (as I've never had this issue before) is there a limit to images displayed in the media upload window when adding an image?
As an aside, In the media library there is pagination and/ or you can change the amount on view (screen options tab > media items) but there's nothing like this on the set featured image window. or am I missing something?
Cheers,
Lee
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list