Image upload issues – Size reported as 0x0
-
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 lead 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.
https://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!
https://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 :
- https://core.trac.www.ads-software.com/ticket/12532
- https://www.ads-software.com/support/topic/cant-adjust-media-file-size-since-upgrading-to-27
- https://www.ads-software.com/support/topic/images-upload-fine-but-wp-shows-0x0-size
- https://www.ads-software.com/support/topic/add-image-size-only-allows-fullsize-with-0x0-dimensions
- https://www.ads-software.com/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.A phpinfo() can be seen here : https://www.millerswebsite.co.uk/info.php
- The topic ‘Image upload issues – Size reported as 0x0’ is closed to new replies.