Since 3.1.5: Attachments Upload But Display as 1×1 pixel
-
Since upgrading to Customizr 3.1.5 my Media Library has stopped working for new images while old images work fine. Something isn’t right about how images are being identified during upload, but I’ve had no luck figuring it out.
When I attempt to upload any image (and I’ve tried many, including ones successfully uploaded in the past) the process works without errors, the files appear in the correct wp-content/uploads folder, and the image even displays when you select Edit from the Media Library.
But when you choose View Attachment Page in the Media Library it brings up a page with no visible image. Viewing the source on that page shows that the height and width tags on the image have been set to 1.
Then when you return to the Media Library there is no visible thumbnail image for the file that was just uploaded. Again, viewing source shows the image is there and linked, but displaying as 1×1 pixel.
Finally, choosing Edit Image from the Edit Media page reports the error “Image data does not exist. Please re-upload the image.”
Does anyone have any ideas? I’ve noticed at least one other thread with similar problems of 1×1 images reported, but that person’s solution doesn’t apply in this case.
Here’s the URL of an attachment page showing the problem:
https://www.cohealthinfo.com/?attachment_id=2396
FYI I use a custom child theme, but I’ve tested with just Customizr alone and got the same behavior. I’ve also tested disabling all plugins one by one and had no luck.
Can anyone offer any ideas?
Thanks,
Joel Risberg
- The topic ‘Since 3.1.5: Attachments Upload But Display as 1×1 pixel’ is closed to new replies.