WordPress.org

Make WordPress Core

Opened 15 months ago

Last modified 3 weeks ago

#23292 new defect (bug)

Media uploader loads full size image and slows down, please change to thumbnails. — at Initial Version

Reported by: mnrtjeR Owned by:
Milestone: Future Release 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 );

Change History (0)

Note: See TracTickets for help on using tickets.