[wp-trac] [WordPress Trac] #23292: Media uploader loads full size image and slows down, please change to thumbnails.
WordPress Trac
noreply at wordpress.org
Fri Mar 7 04:42:01 UTC 2014
#23292: Media uploader loads full size image and slows down, please change to
thumbnails.
--------------------------+-------------------------
Reporter: mnrtjeR | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by wonderboymusic):
* keywords: needs-refresh => has-patch
* focuses: => javascript
Comment:
[attachment:23292.2.diff 23292.2.diff] sets the default library of
`media.view.MediaFrame.Post` to the default values for the `uploaded`
attachment filter when the user has more than one page of attachments.
Introduces `wp.media.isLargeLibrary()` to identify a a media library whose
items are more than one page. Adds
`wp.media.view.settings.attachmentCounts` via `wp_count_attachments()` in
`wp_enqueue_media()`.
As I'm thinking about how one produces content for a post, do they really
need access to 80 attachments immediately every time they open the media
modal?
Curious what others think...
The code is just to get this started. May need some massaging
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23292#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list