[wp-trac] [WordPress Trac] #31120: Upload bug: Square pictures bigger than 2500px

WordPress Trac noreply at wordpress.org
Mon Jan 26 10:29:30 UTC 2015


#31120: Upload bug: Square pictures bigger than 2500px
--------------------------+------------------------------
 Reporter:  wpstkw        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Fab1en):

 I think this bug is more related to the
 [http://php.net/manual/fr/book.image.php GD library] that is not able to
 load the picture to generate the thumbnails.

 When GD loads a jpeg image, it converts it into bitmap so only the
 original jpeg file resolution is taken into account in the number of bytes
 needed. The difference of treatment between square and rectangle images is
 a mystery though. And 3000x3000 image should not take up to 64M in memory,
 but only 34M if my computation is right (32 bits per pixel). Do you use
 any plugin that could make some post-treatment to uploaded images ? Or do
 you use another php library to manipulate images ?

 I tried to upload your images on my local WordPress install with your PHP
 settings without issues.

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


More information about the wp-trac mailing list