[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 Jan 25 12:31:38 UTC 2013
#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: Awaiting Review
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-testing |
---------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch needs-testing => needs-testing
* component: General => Media
Old 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 );
New 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 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 );
}}}
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23292#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list