[wp-trac] Re: [WordPress Trac] #8754: Uploading images whose dimensions are greater than the maximum size allowed fail to generate thumbnails and no error/failure message is displayed.

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 3 15:56:22 GMT 2009


#8754: Uploading images whose dimensions are greater than the maximum size allowed
fail to generate thumbnails and no error/failure message is displayed.
---------------------------------------------------------------------+------
 Reporter:  DRGDC                                                    |        Owner:     
     Type:  defect (bug)                                             |       Status:  new
 Priority:  normal                                                   |    Milestone:  2.9
Component:  Upload                                                   |      Version:  2.7
 Severity:  normal                                                   |   Resolution:     
 Keywords:  image, photo, thumbnail, dimension, size, limit, upload  |  
---------------------------------------------------------------------+------
Comment (by DRGDC):

 I've edited wp_load_image() located in /htdocs/wp-admin/includes/image.php
 to use 1024M and the thumbnail generation is still failing.  The test
 image I am uploading is 1,047 KB and 625 x 938 pixels.

 @ini_set('memory_limit', '1024M');

 I am running WordPress Version 2.7 and below are my server stats:

 {{{

 OS                      Linux
 Server                  Apache/2.2.3 (Red Hat)
 PHP                     v5.1.6
 MYSQL                   v5.0.45
 GD                      bundled (2.0.28 compatible)
 Server Hostname         xxxxx.xxxxx.xxx
 Server IP:Port          x.x.x.x:80
 Server Document Root    /vservers/xxxxxx/htdocs
 Server Admin            xxxxxx at xxxxx.xxxxx.xxx
 Server Load             N/A
 Server Date/Time        February 3, 2009 @ 10:47 am

 Database Data Disk Usage        2.3 MiB
 Database Index Disk Usage       301 KiB
 MYSQL Maximum Packet Size       1024 KiB
 MYSQL Maximum No. Connection    100
 PHP Short Tag                   On
 PHP Safe Mode                   On
 PHP Magic Quotes GPC            Off
 PHP Memory Limit                16M
 PHP Max Upload Size             2M
 PHP Max Post Size               8M
 PHP Max Script Execute Time     30s

 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8754#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list