Opened 4 months ago
Last modified 4 months ago
#23292 new defect (bug)
Media uploader loads full size image and slows down, please change to thumbnails.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | needs-testing |
| Cc: |
Description (last modified by SergeyBiryukov)
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 line 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 (1)
comment:1
SergeyBiryukov — 4 months ago
- Component changed from General to Media
- Description modified (diff)
- Keywords has-patch removed
Note: See
TracTickets for help on using
tickets.
