[wp-trac] [WordPress Trac] #40439: Save progress of intermediate image creation after upload

WordPress Trac noreply at wordpress.org
Thu May 11 03:03:05 UTC 2017


#40439: Save progress of intermediate image creation after upload
--------------------------+-----------------------------
 Reporter:  mikeschroder  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by nosilver4u):

 Be careful with WPBIP if you have any batch image import processes on your
 site. I use the background lib from delicious brains in EWWW Image
 Optimizer, and it has a rather large issue with dispatching the queue. It
 doesn't reset the $data variable after saving it to the db, so you can end
 up with something like this:
 queue 1: 1
 queue 2: 1,2
 queue 3: 1,2,3
 queue 4: 1,2,3,4
 queue 5: 1,2,3,4,5
 ...
 queue 10: 1,2,3,4,5,6,7,8,9,10
 and so on. Import a couple hundred images, and you'll have a couple
 hundred queues with 1-200 items in them. There were some other issues with
 batch imports that I had to fix as well. You might be able to drop-in the
 background processing libs with the ones from EWWW IO:
 https://github.com/nosilver4u/ewww-image-optimizer/tree/master/vendor

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40439#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list