[wp-trac] [WordPress Trac] #25748: Long (confusing) delay when sending many images to editor with "insert into post" button

WordPress Trac noreply at wordpress.org
Mon Oct 28 17:04:23 UTC 2013


#25748: Long (confusing) delay when sending many images to editor with "insert into
post" button
-----------------------------+-----------------------------
 Reporter:  matthewdietsche  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upload           |    Version:  3.7
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 Clicking the "insert into post" button after uploading many images can
 result in a really long delay before the image markup is added to the
 editor.  Here is an example on my local installation:

 http://screencast.com/t/ja8cqXyHSw

 So you can imagine that the same issue on a remote server could result in
 a painfully long delay (I've seen it take 30+ seconds).

 It looks like the cause of the delay is in the individual post request
 that happens for each image when sending them to the editor.  What is the
 purpose of these requests?  Isn't all the data needed to send the image
 markup to the editor available to the javascript when the button is
 clicked?

 If not, and those requests have to happen in their current form, there
 should be some sort of "loading..." indicator on the editor screen letting
 the user know something is happening, because currently the assumption
 would be that the insertion failed.

 And regarding the likelihood of someone inserting that number of images
 into a single post, photographers will regularly upload 30, 40, 50 or more
 images to a post after a shoot.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25748>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list