I had an image called 7-solutions-burnout-blog-300×250.jpg that wouldn’t load into the media library, the thumbnail would show up blank. I tried changing the end of the file name to all sorts of things, still wouldn’t work. I disabled all plugins and purged the cache on WordPress and my browser, still wouldn’t work. Did a test on other images and they worked fine. Finally after going crazy, I made a test image in Photoshop and titled it test-300×250.jpg because I had a weird suspicion it was the “300×250” messing things up. Uploaded that file and it did not work. When I took the “300×250” off the file name, the image uploaded just fine. I noticed it happened even when I had “300-250” in the file name.
What is going on?! Please help
[ad_2]
Don’t really have it confirmed, but you’re probably hitting a issue with how WordPress handles images. Everytime you upload a image, let’s say image1.jpg, WordPress will create additional variations of this image based on what the theme (and various plugins) has request, like image1-300×250.jpg.
The image variations will all have a subname of -{width}x{height}.{filetype}, the same way your image was named. So either that type of naming is disallowed, or you’re hitting a size that’s already in the system.