[wp-trac] [WordPress Trac] #17547: Image upload issues - Size reported as 0x0

WordPress Trac wp-trac at lists.automattic.com
Tue May 24 08:27:22 UTC 2011


#17547: Image upload issues - Size reported as 0x0
-------------------------+-------------------------------------------------
 Reporter:               |      Owner:
  David_Miller           |     Status:  new
     Type:  defect       |  Milestone:  Awaiting Review
  (bug)                  |    Version:  3.1.2
 Priority:  normal       |   Keywords:  needs-patch 2nd-opinion needs-
Component:  Upload       |  testing reporter-feedback
 Severity:  critical     |
-------------------------+-------------------------------------------------
 When I upload any image of any size to my wordpress installation the image
 uploads fine, but the size is reported as 0x0 and has only one option of
 inserting it as a full-sized image!

 Further inspection of this issue has led me to believe that it lays with
 wordpress not inserting the correct (if any) meta data for the attachment
 into the database.

 As you can see in the image below, the meta data is present and this image
 shows all options of inserting the image in the post at all sizes
 specified in the WordPress media settings panel.

 http://www.millerswebsite.co.uk/images/meta%20data.jpg

 But as you can clearly see from the image below, when the meta data is
 missing it shows you can't post the image at any size except full which is
 stated as 0x0px - Clearly something is wrong!

 http://www.millerswebsite.co.uk/images/no%20size.jpg

 Many people have had and are still having this issue since 2.5. There are
 quite a few forum threads relating to it with not a single word from
 anyone from WordPress.

 Several tickets have been submitted to the WordPress Trac system with the
 issues going unresolved. This is a major problem and many people have
 reported it, yet nothing seems to have been done.

 Sources :

 http://core.trac.wordpress.org/ticket/12532

 http://wordpress.org/support/topic/cant-adjust-media-file-size-since-
 upgrading-to-27

 http://wordpress.org/support/topic/images-upload-fine-but-wp-shows-
 0x0-size

 http://wordpress.org/support/topic/add-image-size-only-allows-fullsize-
 with-0x0-dimensions

 http://wordpress.org/support/topic/image-upload-in-wp-28-with-translation

 If any solution exists to this problem, please let me know, I have been
 searching for weeks now to no avail. When I talk about solutions, I do not
 mean using plugins to "regenerate thumbnails"! Yes I know this works, but
 it does not solve the problem as its only a temporary fix. Plus it needs
 to regenerate the images every time you upload a new image.

 Side note :
 I have tried a completely new installation of WordPress with and with out
 plugins on a completely different database. I have uploaded and re-
 uploaded the WordPress files also.

 This is the type of image I am uploading. I took it on my Nikon D3100 and
 compressed to 80% @ 960x768 which makes it 83KB so it's not exceeding any
 upload limits and I am still having problems.

 http://www.millerswebsite.co.uk/images/wordpress/DSC_2165.jpg

 My host claims it is not their fault and they have recompiled apache and
 php for me, the php memory limit is also set to 128mb and file upload size
 is limited to 8mb.

 A phpinfo() can be seen here : http://www.millerswebsite.co.uk/info.php

 My original complaint can be seen on the forums here :
 http://wordpress.org/support/topic/image-upload-issues-size-reported-as-
 0x0?replies=10

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17547>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list