Opened 11 years ago
Last modified 9 years ago
#23292 closed defect (bug)
Media uploader loads full size image and slows down, please change to thumbnails. — at Initial Version
Reported by: | mnrtjeR | Owned by: | |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | has-patch 4.0-early |
Focuses: | javascript | Cc: |
Description
The media uploader is really slow if you upload 1024 x 768 images, the reason for this is that the preview shows full size images.
Underneath here is a quick fix to speed up the media uploader to thumbnails.
Please change rule #1333 in "wp-includes/media.php" from:
$attachment_url = wp_get_attachment_url( $attachment->ID );
to:
$attachment_url = wp_get_attachment_thumb_url($attachment->ID );
Note: See
TracTickets for help on using
tickets.