[wp-trac] [WordPress Trac] #23127: Media Upload hangs on Crunching on too big image sizes.

WordPress Trac noreply at wordpress.org
Sat Jan 5 23:34:29 UTC 2013


#23127: Media Upload hangs on Crunching on too big image sizes.
--------------------------+------------------------------
 Reporter:  clubdesign    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by clubdesign):

 Another thought on how to prevent this thing from hanging, is to do some
 basic calculations before to any GD Stuff.

 As this article explains there is a rough formula for that:
 Width x Height x 8 (bits) x 3(channels) / 8 x 1.65
 should result in the memory needed for GD. Soooo: Max availiable Memory -
 Wp needed memory - calc. needed memory. If negative, kick error. Just as a
 thought. ;)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23127#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list