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

WordPress Trac noreply at wordpress.org
Mon Jul 8 08:30:55 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:  Media         |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by kb_unhammer):

 Replying to [comment:1 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. ;)

 As mentioned in #24703, it would also be nice if whatever error message is
 shown to the user mentions the php.ini memory_limit workaround.

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


More information about the wp-trac mailing list